bridge: Simplify interface for ATM LANE
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Fri, 5 Jun 2009 05:35:28 +0000 (05:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Jun 2009 04:03:21 +0000 (21:03 -0700)
commitda6782927de809d9d427bd4bd6a4024243e41f13
tree79419b352017a0c125c2b17e6a170589b31d8cb3
parent746e6ad23cd6fec2edce056e014a0eabeffa838c
bridge: Simplify interface for ATM LANE

This patch changes FDB entry check for ATM LANE bridge integration.
There's no point in holding a FDB entry around SKB building.

br_fdb_get()/br_fdb_put() pair are changed into single br_fdb_test_addr()
hook that checks if the addr has FDB entry pointing to other port
to the one the request arrived on.

FDB entry refcounting is removed as it's not used anywhere else.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/lec.c
net/bridge/br.c
net/bridge/br_fdb.c
net/bridge/br_private.h
net/core/dev.c