]> git.baikalelectronics.ru Git - kernel.git/commit
udpv6: Fix the checksum computation when HW checksum does not apply
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Thu, 14 Sep 2017 01:30:51 +0000 (19:30 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Sep 2017 18:43:03 +0000 (11:43 -0700)
commitc9defe3f8cc388c4e07b02fe83477d598b48efee
treefa288b0e21b27b3cb960f28a84dcad9342f4e850
parent384fde7ed224f283f11ef2a592b05d4a29492aa8
udpv6: Fix the checksum computation when HW checksum does not apply

While trying an ESP transport mode encryption for UDPv6 packets of
datagram size 1436 with MTU 1500, checksum error was observed in
the secondary fragment.

This error occurs due to the UDP payload checksum being missed out
when computing the full checksum for these packets in
udp6_hwcsum_outgoing().

Fixes: fdb5bb91e797 ("ipv6: Introduce udpv6_send_skb()")
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/udp.c