bridge: add new brport flag LEARNING_SYNC
authorScott Feldman <sfeldma@gmail.com>
Fri, 28 Nov 2014 13:34:23 +0000 (14:34 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Dec 2014 04:01:23 +0000 (20:01 -0800)
commitefacacdaf7cb5a0592ed772e3731636b2742e34a
treee6d6f3378dddbf883deac8a22275a174af0317c6
parent065c212a9e25172069f368b36228379521dadb65
bridge: add new brport flag LEARNING_SYNC

This policy flag controls syncing of learned FDB entries to bridge's FDB.  If
on, FDB entries learned on bridge port device will be synced.  If off, device
may still learn new FDB entries but they will not be synced with bridge's FDB.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: Andy Gospodarek <gospo@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_bridge.h
include/uapi/linux/if_link.h