]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ipv6 RAW: Disallow IPPROTO_IPV6-level IPV6_CHECKSUM socket option on ICMPv6 sockets.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Fri, 25 Apr 2008 04:30:38 +0000 (21:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Apr 2008 04:30:38 +0000 (21:30 -0700)
commit1a98d05f59704d60be85b03f727964e15c77224c
treeae125c4ff89a650368dbedcc5337ce2cfa5f1d98
parent8d390efd903485923419584275fd0c2aa4c94183
ipv6 RAW: Disallow IPPROTO_IPV6-level IPV6_CHECKSUM socket option on ICMPv6 sockets.

RFC3542 tells that IPV6_CHECKSUM socket option in the IPPROTO_IPV6
level is not allowed on ICMPv6 sockets.  IPPROTO_RAW level
IPV6_CHECKSUM socket option (a Linux extension) is still allowed.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/raw.c