[IPv6]: Only modify checksum for UDP
authorBrian Haley <brian.haley@hp.com>
Fri, 10 Nov 2006 22:54:51 +0000 (14:54 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:22:13 +0000 (21:22 -0800)
commitd3a1be9cba86c4385a5fe46673bbb4730551f454
tree24bcb9244dcb894c333c33c0f1dd88e1ddcc2267
parentf465e489c457821751f6253abaaf28c10f9d8895
[IPv6]: Only modify checksum for UDP

Only change upper-layer checksum from 0 to 0xFFFF for UDP (as RFC 768
states), not for others as RFC 4443 doesn't require it.

Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/icmp.c
net/ipv6/raw.c