]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: split rcu and no-rcu cases of fdb lookup
authorstephen hemminger <shemminger@vyatta.com>
Mon, 4 Apr 2011 14:03:29 +0000 (14:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Apr 2011 00:22:26 +0000 (17:22 -0700)
commit6ccfeb95858e14f7ea047ceea6fa6d5ca6e186d8
tree3da0ad964f1ad79f567ed04a5e5b32c201687787
parentf62c3542abb7b6b61e46e11e66c803224d929de5
bridge: split rcu and no-rcu cases of fdb lookup

In some cases, look up of forward database entry is done with RCU;
and for others no RCU is needed because of locking. Split the two
cases into two differnt loops (and take off inline).

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_fdb.c