diff options
| author | 2015-05-25 06:39:31 -0700 | |
|---|---|---|
| committer | 2015-05-25 20:29:54 -0400 | |
| commit | eb8d7baae21584a7b27e79c2deca3eee72376ff0 (patch) | |
| tree | d8bbfc35fd7d7021a31fa0cc941bbaec8ef74ab8 /net/core/utils.c | |
| parent | pktgen: remove one sparse error (diff) | |
| download | wireguard-linux-eb8d7baae21584a7b27e79c2deca3eee72376ff0.tar.xz wireguard-linux-eb8d7baae21584a7b27e79c2deca3eee72376ff0.zip | |
bridge: skip fdb add if the port shouldn't learn
Check in fdb_add_entry() if the source port should learn, similar
check is used in br_fdb_update.
Note that new fdb entries which are added manually or
as local ones are still permitted.
This patch has been tested by running traffic via a bridge port and
switching the port's state, also by manually adding/removing entries
from the bridge's fdb.
Signed-off-by: Wilson Kok <wkok@cumulusnetworks.com>
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions
