From: Wang Li
Date: Fri, 29 May 2020 19:23:21 +0800
> Signed-off-by: Wang Li
uh->check is read by the lco_csum() call, this assignment is not
redundant at all.
Please put more care into your changes.
Thank you.
On Fri, 2020-05-29 at 19:23 +0800, Wang Li wrote:
> diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
[]
> @@ -798,7 +798,6 @@ void udp_set_csum(bool nocheck, struct sk_buff *skb,
> } else if (skb_is_gso(skb)) {
> uh->check = ~udp_v4_check(len, saddr, daddr, 0);
> } else if (sk
Signed-off-by: Wang Li
---
net/ipv4/udp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index 32564b350823..54db5182c884 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -798,7 +798,6 @@ void udp_set_csum(bool nocheck, struct sk_buff *skb,
} else if