More agressive fix for IPv6 routing header type 0 issue.
authorHasso Tepper <hasso@dragonflybsd.org>
Mon, 7 May 2007 13:00:16 +0000 (13:00 +0000)
committerHasso Tepper <hasso@dragonflybsd.org>
Mon, 7 May 2007 13:00:16 +0000 (13:00 +0000)
commitd4da173d3dd626a3f4f02cb8642d1a18b8e9d760
tree2aa99006c9d161e77bb38bd23bdce3ff1e5f51c9
parent1613df28be8e795d826c93e446137cecc93718a5
More agressive fix for IPv6 routing header type 0 issue.
The ip6_rthdr0() function is commented out at all and the incoming Type 0
Routing Header is now processed as an unknown Routing Header. Also drop
packets with more than 1 routing headers and increment ifs6_in_hdrerr on
ip6s_toomanyhdr.

Obtained-from: KAME
sys/netinet6/ip6_input.c
sys/netinet6/route6.c