summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>2010-03-15 21:51:18 +0000
committerDavid S. Miller <davem@davemloft.net>2010-03-16 14:34:23 -0700
commit32dec5dd0233ebffa9cae25ce7ba6daeb7df4467 (patch)
treeb086e355e9afa2cb6ab51988175afd619787029b /block
parent858a18a6a2f74e8f0e5b2e9671d4b74694aba708 (diff)
downloadop-kernel-dev-32dec5dd0233ebffa9cae25ce7ba6daeb7df4467.zip
op-kernel-dev-32dec5dd0233ebffa9cae25ce7ba6daeb7df4467.tar.gz
bridge br_multicast: Don't refer to BR_INPUT_SKB_CB(skb)->mrouters_only without IGMP snooping.
Without CONFIG_BRIDGE_IGMP_SNOOPING, BR_INPUT_SKB_CB(skb)->mrouters_only is not appropriately initialized, so we can see garbage. A clear option to fix this is to set it even without that config, but we cannot optimize out the branch. Let's introduce a macro that returns value of mrouters_only and let it return 0 without CONFIG_BRIDGE_IGMP_SNOOPING. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud