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)
commitceff522db2cc2915d50ca7f019df1cc8b19c871c
treed99fedf090059a2e65fab1b4c765e0907af6623c
parent521bb3049c4df06c6c302f5c6fef691c57ea3cc0
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