summaryrefslogtreecommitdiffstats
path: root/net/core/skbuff.c
diff options
context:
space:
mode:
authorGanesh Goudar <ganeshgr@chelsio.com>2018-08-02 15:34:52 +0530
committerDavid S. Miller <davem@davemloft.net>2018-08-02 10:29:25 -0700
commit9aba2f801eea5070f1d5588cd4052588437b9eea (patch)
tree1948a43ebfb5760fda06e43ba80cee31b7833197 /net/core/skbuff.c
parent453e9dc48be466afa2adc25d072aa4c5b8774f8d (diff)
downloadlinux-stable-9aba2f801eea5070f1d5588cd4052588437b9eea.tar.gz
linux-stable-9aba2f801eea5070f1d5588cd4052588437b9eea.tar.bz2
linux-stable-9aba2f801eea5070f1d5588cd4052588437b9eea.zip
net: Fix coding style in skb_push()
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/skbuff.c')
-rw-r--r--net/core/skbuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 266b954f763e..51b0a9126e12 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -1715,7 +1715,7 @@ void *skb_push(struct sk_buff *skb, unsigned int len)
{
skb->data -= len;
skb->len += len;
- if (unlikely(skb->data<skb->head))
+ if (unlikely(skb->data < skb->head))
skb_under_panic(skb, len, __builtin_return_address(0));
return skb->data;
}