]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: rxkad: Don't use pskb_pull() to advance through the response packet
authorDavid Howells <dhowells@redhat.com>
Tue, 29 Sep 2020 20:48:50 +0000 (21:48 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 23 Nov 2020 18:09:30 +0000 (18:09 +0000)
commit2dd562e715cc655162c005de3692ee1c9f9fc3b9
treed99fedf090059a2e65fab1b4c765e0907af6623c
parent7720d4d6e23cdb7d8b6d3b334c61ec1ad585135e
rxrpc: rxkad: Don't use pskb_pull() to advance through the response packet

In the rxkad security class, don't use pskb_pull() to advance through the
contents of the response packet.  There's no point, especially as the next
and last access to the skbuff still has to allow for the wire header in the
offset (which we didn't advance over).

Better to just add the displacement to the next offset.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/rxkad.c