ipv6: Partial checksum only UDP packets
authorVlad Yasevich <vyasevich@gmail.com>
Tue, 10 Feb 2015 16:37:29 +0000 (11:37 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Feb 2015 22:32:08 +0000 (14:32 -0800)
commitbf250a1fa769f2eb8fc7a4e28b3b523e9cb67eef
treeacbdd58a049f11502508ae1750f2a39a03cdcabb
parent4a3046d68a5a6b7a2474c9d65811091841675cdb
ipv6: Partial checksum only UDP packets

ip6_append_data is used by other protocols and some of them can't
be partially checksummed.  Only partially checksum UDP protocol.

Fixes: 32dce968dd987a (ipv6: Allow for partial checksums on non-ufo packets)
Reported-by: Sabrina Dubroca <sd@queasysnail.net>
Tested-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c