]> 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)
commit5fcac3e770393a78e0a0c3a8920407e60c0e3a71
treed99fedf090059a2e65fab1b4c765e0907af6623c
parent5fe295ddbf3f10cb8a143d16b22110c577b0c4ed
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