diff options
author | 2018-09-26 17:01:05 +0300 | |
---|---|---|
committer | 2018-09-26 10:04:23 -0700 | |
commit | c69c2cd444ccf0ea5e5741f92073619e57217b6b (patch) | |
tree | 96f761fef754bbfc3489f9bbae59a24f60b8177e /net/bridge/br_input.c | |
parent | net: bridge: convert mcast options to bits (diff) | |
download | linux-c69c2cd444ccf0ea5e5741f92073619e57217b6b.tar.gz linux-c69c2cd444ccf0ea5e5741f92073619e57217b6b.tar.bz2 linux-c69c2cd444ccf0ea5e5741f92073619e57217b6b.zip |
net: bridge: convert neigh_suppress_enabled option to a bit
Convert the neigh_suppress_enabled option to a bit.
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_input.c')
-rw-r--r-- | net/bridge/br_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c index 72074276c088..3ddca11f44c2 100644 --- a/net/bridge/br_input.c +++ b/net/bridge/br_input.c @@ -122,7 +122,7 @@ int br_handle_frame_finish(struct net *net, struct sock *sk, struct sk_buff *skb br_do_proxy_suppress_arp(skb, br, vid, p); } else if (IS_ENABLED(CONFIG_IPV6) && skb->protocol == htons(ETH_P_IPV6) && - br->neigh_suppress_enabled && + br_opt_get(br, BROPT_NEIGH_SUPPRESS_ENABLED) && pskb_may_pull(skb, sizeof(struct ipv6hdr) + sizeof(struct nd_msg)) && ipv6_hdr(skb)->nexthdr == IPPROTO_ICMPV6) { |