]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bridge: use rx_handler_data pointer to store net_bridge_port pointer
authorJiri Pirko <jpirko@redhat.com>
Tue, 15 Jun 2010 06:50:45 +0000 (06:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jun 2010 18:48:58 +0000 (11:48 -0700)
commitf350a0a87374418635689471606454abc7beaa3a
treec8210542a9848f6b5953b58d2ba1dbfb11715f14
parenta35e2c1b6d90544b3c688783869817628e5f9607
bridge: use rx_handler_data pointer to store net_bridge_port pointer

Register net_bridge_port pointer as rx_handler data pointer. As br_port is
removed from struct net_device, another netdev priv_flag is added to indicate
the device serves as a bridge port. Also rcuized pointers are now correctly
dereferenced in br_fdb.c and in netfilter parts.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
20 files changed:
drivers/net/ksz884x.c
drivers/staging/batman-adv/hard-interface.c
include/linux/if.h
include/linux/netdevice.h
net/bridge/br_fdb.c
net/bridge/br_if.c
net/bridge/br_input.c
net/bridge/br_netfilter.c
net/bridge/br_netlink.c
net/bridge/br_notify.c
net/bridge/br_private.h
net/bridge/br_stp_bpdu.c
net/bridge/netfilter/ebt_redirect.c
net/bridge/netfilter/ebt_ulog.c
net/bridge/netfilter/ebtables.c
net/core/dev.c
net/netfilter/nfnetlink_log.c
net/netfilter/nfnetlink_queue.c
net/wireless/nl80211.c
net/wireless/util.c