• V
    bridge: Add filtering support for default_pvid · 5be5a2df
    Vlad Yasevich 提交于
    Currently when vlan filtering is turned on on the bridge, the bridge
    will drop all traffic untill the user configures the filter.  This
    isn't very nice for ports that don't care about vlans and just
    want untagged traffic.
    
    A concept of a default_pvid was recently introduced.  This patch
    adds filtering support for default_pvid.   Now, ports that don't
    care about vlans and don't define there own filter will belong
    to the VLAN of the default_pvid and continue to receive untagged
    traffic.
    
    This filtering can be disabled by setting default_pvid to 0.
    Signed-off-by: NVladislav Yasevich <vyasevic@redhat.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    5be5a2df
br_if.c 12.4 KB