commit | 1158f762e57c1cdcda631c1c5f339e4853caa82b | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@openvz.org> | Fri Feb 04 13:02:36 2011 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 04 13:02:36 2011 -0800 |
tree | c4e0fa76daa3c8f37312d4de6a3fd587545e920e | |
parent | f60ac8e7ab7cbb413a0131d5665b053f9f386526 [diff] |
bridge: Don't put partly initialized fdb into hash The fdb_create() puts a new fdb into hash with only addr set. This is not good, since there are callers, that search the hash w/o the lock and access all the other its fields. Applies to current netdev tree. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>