Re: [PATCH][net-next] net: remove BUG_ON from __pskb_pull_tail

2018-11-12 Thread David Miller
From: Li RongQing Date: Mon, 12 Nov 2018 17:26:13 +0800 > do { > - BUG_ON(!list); > Please get rid of the empty line afterwards as well. Thank you.

[PATCH][net-next] net: remove BUG_ON from __pskb_pull_tail

2018-11-12 Thread Li RongQing
if list is NULL pointer, and the following access of list will trigger panic, which is same as BUG_ON Signed-off-by: Li RongQing --- net/core/skbuff.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 396fcb3baad0..cd668b52f96f 100644 --- a/net/core/s