]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: pass correct vlan id to multicast code
authorVlad Yasevich <vyasevic@redhat.com>
Mon, 28 Oct 2013 19:45:07 +0000 (15:45 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Oct 2013 21:40:08 +0000 (17:40 -0400)
commitd81d95f47ff7229960d7e0c1546087f0eacbfcc1
treec111ac98dd6790a2d2c04cca7a37d55abbff2b2c
parent306f36e69ef3aedbacde89545f16a5e1ccf29f7f
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