diff options
Diffstat (limited to 'net/ipv4/udp.c')
| -rw-r--r-- | net/ipv4/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index cac59d7420cd..cb633884e825 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c | |||
| @@ -809,7 +809,7 @@ static int udp_send_skb(struct sk_buff *skb, struct flowi4 *fl4) | |||
| 809 | if (is_udplite) /* UDP-Lite */ | 809 | if (is_udplite) /* UDP-Lite */ |
| 810 | csum = udplite_csum(skb); | 810 | csum = udplite_csum(skb); |
| 811 | 811 | ||
| 812 | else if (sk->sk_no_check_tx) { /* UDP csum disabled */ | 812 | else if (sk->sk_no_check_tx && !skb_is_gso(skb)) { /* UDP csum off */ |
| 813 | 813 | ||
| 814 | skb->ip_summed = CHECKSUM_NONE; | 814 | skb->ip_summed = CHECKSUM_NONE; |
| 815 | goto send; | 815 | goto send; |
