]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Ignore route option with ROUTER_PREF_INVALID
authorJens Rosenboom <me@jayr.de>
Thu, 10 Sep 2009 06:25:11 +0000 (06:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Sep 2009 00:10:38 +0000 (17:10 -0700)
commit0b415ebdde3c30eebec338ea6a37d4558a455556
tree512d4c2386a0bff8fe7b2fa92dbac77617555990
parent75d7eaa72fe7e24da74dbb08b1c6a73bf6fe7c06
ipv6: Ignore route option with ROUTER_PREF_INVALID

RFC4191 says that "If the Reserved (10) value is received, the Route
Information Option MUST be ignored.", so this patch makes us conform
to the RFC. This is different to the usage of the Default Router
Preference, where an invalid value must indeed be treated as
PREF_MEDIUM.

Signed-off-by: Jens Rosenboom <me@jayr.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c