]> git.baikalelectronics.ru Git - kernel.git/commit
bridge br_multicast: Ensure to initialize BR_INPUT_SKB_CB(skb)->mrouters_only.
authorYOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org>
Sun, 25 Apr 2010 08:59:07 +0000 (08:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Apr 2010 18:25:31 +0000 (11:25 -0700)
commit1af2c1bba022d2d525ca42bcf26137b87b67eece
tree2d5db34c06d9876aef6a0531bf1e0f368c692cd4
parent9c5f05a7e8ddd1bd561ae3b501a4dbeeee550fc8
bridge br_multicast: Ensure to initialize BR_INPUT_SKB_CB(skb)->mrouters_only.

Even with commit 418ed4433d6918a05cb72c90fbda1374b8c594ef ("bridge
br_multicast: Don't refer to BR_INPUT_SKB_CB(skb)->mrouters_only
without IGMP snooping."), BR_INPUT_SKB_CB(skb)->mrouters_only is
not appropriately initialized if IGMP snooping support is
compiled and disabled, so we can see garbage.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c