summaryrefslogtreecommitdiff
path: root/net/bridge/br_fdb.c
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2011-09-30 14:37:26 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-10-03 16:17:33 (GMT)
commit77f9859837cbe262ef2aa12fc38d18458814c2ca (patch)
tree51653355c4a333e63551c58934629881bb0856a2 /net/bridge/br_fdb.c
parent3de09455cfcde1898fb435ad425b9ad5d13ed362 (diff)
downloadlinux-77f9859837cbe262ef2aa12fc38d18458814c2ca.tar.xz
bridge: fix ordering of NEWLINK and NEWNEIGH events
When port is added to a bridge, the old code would send the new neighbor netlink message before the subsequent new link message. This bug makes it difficult to use the monitoring API in an application. This code changes the ordering to add the forwarding entry after the port is setup. One of the error checks (for invalid address) is moved earlier in the process to avoid having to do unwind. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_fdb.c')
0 files changed, 0 insertions, 0 deletions