X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fipv4%2Fip_output.c;h=3e98ed2bff55d7328aae7209ecbda4f78445c87a;hb=e61ac0b05c53f5b56f3ea623c215437c09d8265b;hp=6537a408a4fb451d906b574def4746c064399fd9;hpb=0ced14fbda44bf9c4977f1b01ae1077b944b94ab;p=karo-tx-linux.git diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index 6537a408a4fb..3e98ed2bff55 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c @@ -595,6 +595,10 @@ slow_path_clean: } slow_path: + /* for offloaded checksums cleanup checksum before fragmentation */ + if ((skb->ip_summed == CHECKSUM_PARTIAL) && skb_checksum_help(skb)) + goto fail; + left = skb->len - hlen; /* Space per frame */ ptr = hlen; /* Where to start from */