Re: [PATCH v2] net/core/dev.c : Use skb_is_gso

2020-10-26 Thread Jakub Kicinski
On Mon, 26 Oct 2020 09:34:35 +0800 Yi Li wrote: > Trivial fix to use func skb_is_gso in place of > test for skb_shinfo(skb)->gso_size. > > Signed-off-by: Yi Li So you gave up on all the drivers now? Please replace the word "fix" in the commit message with "refactoring", the resulting code is

[PATCH v2] net/core/dev.c : Use skb_is_gso

2020-10-25 Thread Yi Li
Trivial fix to use func skb_is_gso in place of test for skb_shinfo(skb)->gso_size. Signed-off-by: Yi Li --- net/core/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/dev.c b/net/core/dev.c index 9499a414d67e..55f66e108059 100644 --- a/net/core/dev.c +++