diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2015-07-10 17:02:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-13 23:41:26 +0200 |
commit | 74fe61f17e999a458d5f64ca2aa9a0282ca32198 (patch) | |
tree | de60cdbdc6df04a7605ff527cb54f8d76af9cfc2 /net/bridge/br_forward.c | |
parent | ebpf: remove self-assignment in interpreter's tail call (diff) | |
download | linux-74fe61f17e999a458d5f64ca2aa9a0282ca32198.tar.xz linux-74fe61f17e999a458d5f64ca2aa9a0282ca32198.zip |
bridge: mdb: add vlan support for user entries
Until now all user mdb entries were added in vlan 0, this patch adds
support to allow the user to specify the vlan for the entry.
About the uapi change a hole in struct br_mdb_entry is used so the size
and offsets are kept the same (verified with pahole and tested with older
iproute2).
Example:
$ bridge mdb
dev br0 port eth1 grp 239.0.0.1 permanent vlan 2000
dev br0 port eth1 grp 239.0.0.1 permanent vlan 200
dev br0 port eth1 grp 239.0.0.1 permanent
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_forward.c')
0 files changed, 0 insertions, 0 deletions