summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorGanesh Goudar <ganeshgr@chelsio.com>2018-08-02 13:04:52 +0300
committerDavid S. Miller <davem@davemloft.net>2018-08-02 20:29:25 +0300
commit9aba2f801eea5070f1d5588cd4052588437b9eea (patch)
tree1948a43ebfb5760fda06e43ba80cee31b7833197 /net/core
parent453e9dc48be466afa2adc25d072aa4c5b8774f8d (diff)
downloadlinux-9aba2f801eea5070f1d5588cd4052588437b9eea.tar.xz
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')
-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;
}