[IPV6] TUNNEL6: Fix incoming packet length check for inter-protocol tunnel.
authorColin <colins@sjtu.edu.cn>
Mon, 26 May 2008 16:04:43 +0000 (00:04 +0800)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Wed, 4 Jun 2008 19:02:32 +0000 (04:02 +0900)
commit82836372311a5cbf9cc5f4f47f9b56cb9edfe90d
tree214a64dbce626d2a95893d1cd75d8ab27b6a8601
parent24ef0da7b864435f221f668bc8a324160d063e78
[IPV6] TUNNEL6: Fix incoming packet length check for inter-protocol tunnel.

I discover a strange behavior in [ipv4 in ipv6] tunnel. When IPv6 tunnel
payload is less than 40(0x28), packet can be sent to network, received in
physical interface, but not seen in IP tunnel interface. No counter increase
in tunnel interface.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
net/ipv6/tunnel6.c