]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPV4]: reset IPCB flags when neccessary
authorPatrick McHardy <kaber@trash.net>
Sat, 7 Jan 2006 07:04:01 +0000 (23:04 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sat, 7 Jan 2006 20:57:32 +0000 (12:57 -0800)
commit8cdfab8a43bb4b3da686ea503a702cb6f9f6a803
tree9c4f42ff23f0e227e705aa5aae4f74e45297f3cb
parentb05e106698d9966de524e78d9da1bf6407fe0c32
[IPV4]: reset IPCB flags when neccessary

Reset IPSKB_XFRM_TUNNEL_SIZE flags in ipip and ip_gre hard_start_xmit
function before the packet reenters IP. This is neccessary so the
encapsulated packets are checked not to be oversized in xfrm4_output.c
again. Reset all flags in sit when a packet changes its address family.

Also remove some obsolete IPSKB flags.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
net/ipv4/ip_gre.c
net/ipv4/ipip.c
net/ipv6/sit.c