Skip to content
Commit d427c899 authored by Richard Gobert's avatar Richard Gobert Committed by David S. Miller
Browse files

net-next: skbuff: refactor pskb_pull



pskb_may_pull already contains all of the checks performed by
pskb_pull.
Use pskb_may_pull for validation in pskb_pull, eliminating the
duplication and making __pskb_pull obsolete.
Replace __pskb_pull with pskb_pull where applicable.

Signed-off-by: default avatarRichard Gobert <richardbgobert@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 96e07181
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment