diff options
author | stephen hemminger <shemminger@vyatta.com> | 2011-09-30 14:37:26 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-03 12:17:33 -0400 |
commit | 77f9859837cbe262ef2aa12fc38d18458814c2ca (patch) | |
tree | 51653355c4a333e63551c58934629881bb0856a2 /net/decnet/netfilter | |
parent | 3de09455cfcde1898fb435ad425b9ad5d13ed362 (diff) |
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/decnet/netfilter')
0 files changed, 0 insertions, 0 deletions