]> Pileus Git - ~andy/linux/commit
bridge: Add fdb dst check during fdb update
authorroopa <roopa@cumulusnetworks.com>
Mon, 22 Apr 2013 12:56:49 +0000 (12:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Apr 2013 15:40:26 +0000 (11:40 -0400)
commitb0a397fb352e65e3b6501dca9662617a18862ef1
tree951ed994f24b426160e548d86c869becbda37f51
parentc39904a0ac22cf05f5f44226457f6da0fe65457e
bridge: Add fdb dst check during fdb update

Current bridge fdb update code does not seem to update the port
during fdb update. This patch adds a check for fdb dst (port)
change during fdb update. Also rearranges the call to
fdb_notify to send only one notification for create and update.

Changelog:
v2 - Change notify flag to bool

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c