diff options
| author | Bruno Martins <bgcngm@gmail.com> | 2018-03-28 19:55:51 +0100 |
|---|---|---|
| committer | Bruno Martins <bgcngm@gmail.com> | 2018-03-28 19:58:22 +0100 |
| commit | 03e0b4f36fc60c226adacdb48306df9ec65de33b (patch) | |
| tree | 05d20001396a1c84eba56977e17800f90e0b384b /net/ipv4/udp.c | |
| parent | b74f9f2f862c0778747d70e0b2b1792fadd24e02 (diff) | |
| parent | 1a83af8aa99799d4fd163a9fb6469015c89fdc99 (diff) | |
Change-Id: Ice23a0b611d9bfa7a00cfa6e82a9712dcaf049e0
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 61c06e9fb05..714153068fa 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -763,7 +763,7 @@ static int udp_send_skb(struct sk_buff *skb, struct flowi4 *fl4) if (is_udplite) /* UDP-Lite */ csum = udplite_csum(skb); - else if (sk->sk_no_check == UDP_CSUM_NOXMIT) { /* UDP csum disabled */ + else if (sk->sk_no_check == UDP_CSUM_NOXMIT && !skb_has_frags(skb)) { /* UDP csum off */ skb->ip_summed = CHECKSUM_NONE; goto send; |
