]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ipv6: Need to sock_put on csum error
authorTom Herbert <therbert@google.com>
Mon, 5 May 2014 23:43:58 +0000 (16:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 May 2014 03:17:16 +0000 (23:17 -0400)
commit79e0f1c9f2c7096e93879d4158f2d34142b693dd
tree358140d06ae5270a33258740aa0b77d21469ccdc
parent5a50a92784e4630f7b3e163ecd32ac3f783d9b4e
ipv6: Need to sock_put on csum error

Commit 4068579e1e098fa81d48db9ba4432ab664c58561 ("net: Implmement
RFC 6936 (zero RX csums for UDP/IPv6)") introduced zero checksums
being allowed for IPv6, but in the case that a socket disallows a
zero checksum on RX we need to sock_put.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/udp.c