commit | 30e56918dd1e6d64350661f186657f6a6f2646e6 | [log] [tgz] |
---|---|---|
author | Duan Jiong <duanj.fnst@cn.fujitsu.com> | Tue Nov 26 15:46:56 2013 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 02 16:00:38 2013 -0500 |
tree | 8ff9e816cd40e17b5bf0d232448bb993e148310a | |
parent | a45299e72737c528975546a0680cace5d7364d27 [diff] |
ipv6: judge the accept_ra_defrtr before calling rt6_route_rcv when dealing with a RA message, if accept_ra_defrtr is false, the kernel will not add the default route, and then deal with the following route information options. Unfortunately, those options maybe contain default route, so let's judge the accept_ra_defrtr before calling rt6_route_rcv. Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>