diff options
author | Vlad Yasevich <vyasevich@gmail.com> | 2014-09-15 21:24:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-15 23:38:30 +0200 |
commit | c095f248e63ada504dd90c90baae673ae10ee3fe (patch) | |
tree | 022c58eb61785526f6cb1690992459eba8338531 /lib/zlib_deflate | |
parent | net: fix creation adjacent device symlinks (diff) | |
download | linux-c095f248e63ada504dd90c90baae673ae10ee3fe.tar.xz linux-c095f248e63ada504dd90c90baae673ae10ee3fe.zip |
bridge: Fix br_should_learn to check vlan_enabled
As Toshiaki Makita pointed out, the BRIDGE_INPUT_SKB_CB will
not be initialized in br_should_learn() as that function
is called only from br_handle_local_finish(). That is
an input handler for link-local ethernet traffic so it perfectly
correct to check br->vlan_enabled here.
Reported-by: Toshiaki Makita<toshiaki.makita1@gmail.com>
Fixes: 20adfa1 bridge: Check if vlan filtering is enabled only once.
Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/zlib_deflate')
0 files changed, 0 insertions, 0 deletions