]> err.no Git - linux-2.6/commit
[IPV6] RAW: Add checksum default defines for MH.
authorMasahide NAKAMURA <nakam@linux-ipv6.org>
Wed, 7 Feb 2007 08:07:39 +0000 (00:07 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 8 Feb 2007 20:39:05 +0000 (12:39 -0800)
commitf48d5ff1e44562a0ee87ce8ea3b798ce9d84370d
tree4b86cd593065f759e8de73231a67a1f95a02f234
parentcc63f70b8b410eb653449151821f6b8b9af6ca42
[IPV6] RAW: Add checksum default defines for MH.

Add checksum default defines for mobility header(MH) which
goes through raw socket. As the result kernel's behavior is
to handle MH checksum as default.

This patch also removes verifying inbound MH checksum at
mip6_mh_filter() since it did not consider user specified
checksum offset and was redundant check with raw socket code.

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