summaryrefslogtreecommitdiff
path: root/net/rxrpc/call_accept.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2022-10-06 17:43:51 +0300
committerDavid Howells <dhowells@redhat.com>2022-12-01 16:36:41 +0300
commit2d1faf7a0ca3c0b327cf064c80e4e775532c9319 (patch)
tree91fd80aa14c25d609dff2acd4c60cbdbd0b66b8b /net/rxrpc/call_accept.c
parent29fb4ec385f18db98d9188c2173a0b07d2de6917 (diff)
downloadlinux-2d1faf7a0ca3c0b327cf064c80e4e775532c9319.tar.xz
rxrpc: Simplify skbuff accounting in receive path
A received skbuff needs a ref when it gets put on a call data queue or conn packet queue, and rxrpc_input_packet() and co. jump through a lot of hoops to avoid double-dropping the skbuff ref so that we can avoid getting a ref when we queue the packet. Change this so that the skbuff ref is unconditionally dropped by the caller of rxrpc_input_packet(). An additional ref is then taken on the packet if it is pushed onto a queue. Signed-off-by: David Howells <dhowells@redhat.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org
Diffstat (limited to 'net/rxrpc/call_accept.c')
0 files changed, 0 insertions, 0 deletions