Commit cbb7025b authored by Hideaki Yoshifuji's avatar Hideaki Yoshifuji Committed by Linus Torvalds

[IPV6]: Fix check if we're a router.

Signed-off-by: default avatarHideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bea1dc68
......@@ -943,7 +943,7 @@ static void ndisc_recv_rs(struct sk_buff *skb)
}
/* Don't accept RS if we're not in router mode */
if (!idev->cnf.forwarding || idev->cnf.accept_ra)
if (!idev->cnf.forwarding)
goto out;
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment