Linux 3.9 routing oddity
Lorenzo Colitti
lorenzo at google.com
Thu Jul 4 14:13:59 CEST 2013
On Thu, Jul 4, 2013 at 8:14 PM, Pierre Emeriaud <petrus.lt at gmail.com> wrote:
> --- a/net/ipv6/route.c
> +++ b/net/ipv6/route.c
> @@ -551,6 +551,8 @@ static inline bool rt6_check_neigh(struct rt6_info *rt)
> ret = true;
> #endif
> read_unlock(&neigh->lock);
> + } else if (IS_ENABLED(CONFIG_IPV6_ROUTER_PREF)) {
> + ret = true;
> }
> rcu_read_unlock_bh();
>
Hmm. What happens if CONFIG_ROUTER_PREF is false? Is the bug still there?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cluenet.de/pipermail/ipv6-ops/attachments/20130704/7cdfe100/attachment.htm>
More information about the ipv6-ops
mailing list