]> Pileus Git - ~andy/linux/commit
bridge: Apply the PVID to priority-tagged frames
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Wed, 16 Oct 2013 08:07:14 +0000 (17:07 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Oct 2013 20:02:53 +0000 (16:02 -0400)
commitb90356ce17c2b199cd55530cb9c3cfabe18dbdc3
treeb60f74bde46c45d0c1208be5f92c2e823f4112ab
parent8adff41c3d259eb5e313b7b04669eee545925154
bridge: Apply the PVID to priority-tagged frames

IEEE 802.1Q says that when we receive priority-tagged (VID 0) frames
use the PVID for the port as its VID.
(See IEEE 802.1Q-2011 6.9.1 and Table 9-2)

Apply the PVID to not only untagged frames but also priority-tagged frames.

Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Reviewed-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_vlan.c