[Bridge] [PATCH net-next] bridge: mdb: add vlan support for user entries

David Miller davem at davemloft.net
Mon Jul 13 21:41:40 UTC 2015

From: Nikolay Aleksandrov <nikolay at cumulusnetworks.com>
Date: Fri, 10 Jul 2015 08:02:08 -0700

> 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 permanent vlan 2000
> dev br0 port eth1 grp permanent vlan 200
> dev br0 port eth1 grp permanent
> Signed-off-by: Nikolay Aleksandrov <nikolay at cumulusnetworks.com>

This looks ok, applied thanks Nikolay.

More information about the Bridge mailing list