]> err.no Git - linux-2.6/commit
[IPV6]: Restore semantics of Routing Header processing.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Wed, 11 Jul 2007 05:47:58 +0000 (22:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jul 2007 05:47:58 +0000 (22:47 -0700)
commitc382bb9d32a55029fb13b118858e25908fab4617
tree0a7466b0e27ec88d27af579393d26df80c38a35e
parentc9726d6890f7f3a892c879e067c3ed839f61e745
[IPV6]: Restore semantics of Routing Header processing.

The "fix" for emerging security threat was overkill and it broke
basic semantic of IPv6 routing header processing.  We should assume
RT0 (or even RT2, depends on configuration) as "unknown" RH type so
that we
- silently ignore the routing header if segleft == 0
- send ICMPv6 Parameter Problem message back to the sender,
  otherwise.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/exthdrs.c