|
@@ -809,7 +809,7 @@ static int udp_send_skb(struct sk_buff *skb, struct flowi4 *fl4)
|
|
if (is_udplite) /* UDP-Lite */
|
|
if (is_udplite) /* UDP-Lite */
|
|
csum = udplite_csum(skb);
|
|
csum = udplite_csum(skb);
|
|
|
|
|
|
- else if (sk->sk_no_check_tx && !skb_is_gso(skb)) { /* UDP csum off */
|
|
|
|
|
|
+ else if (sk->sk_no_check_tx) { /* UDP csum off */
|
|
|
|
|
|
skb->ip_summed = CHECKSUM_NONE;
|
|
skb->ip_summed = CHECKSUM_NONE;
|
|
goto send;
|
|
goto send;
|