OSDN Git Service

net: Fix coding style in skb_push()
authorGanesh Goudar <ganeshgr@chelsio.com>
Thu, 2 Aug 2018 10:04:52 +0000 (15:34 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Aug 2018 17:29:25 +0000 (10:29 -0700)
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c

index 266b954..51b0a91 100644 (file)
@@ -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;
 }