rxrpc kernel sockets hold additional reference to dst

David Howells dhowells at redhat.com
Thu Jan 28 08:44:20 EST 2021


Vadim Fedorenko <vfedorenko at novek.ru> wrote:

> Oh, I see, tun_get_user sets skb->sk while building skb. That's why udp_rcv
> sets sock->sk_rx_dst. I think we should clean skb->sk explicitly somewhere in
> receive path?

Whose sock->sk_rx_dst?  How does it get set on an rxrpc socket, since udp
can't see it?

Does a function need to be called by rxrpc to drop any IP/UDP wibbly bits
attached to the socket buffer it just got?

David




More information about the linux-afs mailing list