diff options
Diffstat (limited to 'net/core/skbuff.c')
-rw-r--r-- | net/core/skbuff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 4218ff49bf13..8b9c109166a7 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -1051,7 +1051,7 @@ EXPORT_SYMBOL(skb_push); | |||
1051 | */ | 1051 | */ |
1052 | unsigned char *skb_pull(struct sk_buff *skb, unsigned int len) | 1052 | unsigned char *skb_pull(struct sk_buff *skb, unsigned int len) |
1053 | { | 1053 | { |
1054 | return unlikely(len > skb->len) ? NULL : __skb_pull(skb, len); | 1054 | return skb_pull_inline(skb, len); |
1055 | } | 1055 | } |
1056 | EXPORT_SYMBOL(skb_pull); | 1056 | EXPORT_SYMBOL(skb_pull); |
1057 | 1057 | ||