bridge: pass correct vlan id to multicast code
commit06499098a02b9ed906a7b6060f2c60fb813918d4
authorVlad Yasevich <vyasevic@redhat.com>
Mon, 28 Oct 2013 19:45:07 +0000 (28 15:45 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Oct 2013 21:40:08 +0000 (29 17:40 -0400)
treec111ac98dd6790a2d2c04cca7a37d55abbff2b2c
parent911aeb108493caa45b4ca08313ee0600e943cd2b
bridge: pass correct vlan id to multicast code

Currently multicast code attempts to extrace the vlan id from
the skb even when vlan filtering is disabled.  This can lead
to mdb entries being created with the wrong vlan id.
Pass the already extracted vlan id to the multicast
filtering code to make the correct id is used in
creation as well as lookup.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Acked-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c
net/bridge/br_input.c
net/bridge/br_multicast.c
net/bridge/br_private.h