summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>2013-11-13 09:26:12 +0100
committerDavid S. Miller <davem@davemloft.net>2013-11-14 22:16:34 +0100
commit192368372d3d29fe04f6ed2a5255ae2d1b58cf76 (patch)
tree48be97a14f425801e553fcae59a1e645736ed3e3 /kernel
parentrandom32: use msecs_to_jiffies for reseed timer (diff)
downloadlinux-192368372d3d29fe04f6ed2a5255ae2d1b58cf76.tar.xz
linux-192368372d3d29fe04f6ed2a5255ae2d1b58cf76.zip
bridge: Use vlan_vid_[add/del] instead of direct ndo_vlan_rx_[add/kill]_vid calls
We should use wrapper functions vlan_vid_[add/del] instead of ndo_vlan_rx_[add/kill]_vid. Otherwise, we might be not able to communicate using vlan interface in a certain situation. Example of problematic case: vconfig add eth0 10 brctl addif br0 eth0 bridge vlan add dev eth0 vid 10 bridge vlan del dev eth0 vid 10 brctl delif br0 eth0 In this case, we cannot communicate via eth0.10 because vlan 10 is filtered by NIC that has the vlan filtering feature. Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions