]> git.baikalelectronics.ru Git - kernel.git/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)
commiteb0fb2ff225a1eb703beb79cc3518e63bfbd75ce
treeb60f74bde46c45d0c1208be5f92c2e823f4112ab
parent1945addea6d85188323b58ff94ed8f1a1db14de5
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