[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1533204292-10428-1-git-send-email-ganeshgr@chelsio.com>
Date: Thu, 2 Aug 2018 15:34:52 +0530
From: Ganesh Goudar <ganeshgr@...lsio.com>
To: netdev@...r.kernel.org, davem@...emloft.net
Cc: arjun@...lsio.com, Ganesh Goudar <ganeshgr@...lsio.com>
Subject: [PATCH net-next] net: Fix coding style in skb_push()
Signed-off-by: Ganesh Goudar <ganeshgr@...lsio.com>
---
net/core/skbuff.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 266b954..51b0a912 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;
}
--
2.1.0
Powered by blists - more mailing lists