net: replace hooks in __netif_receive_skb V5
authorJiri Pirko <jpirko@redhat.com>
Tue, 1 Jun 2010 21:52:08 +0000 (21:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jun 2010 14:11:15 +0000 (07:11 -0700)
What this patch does is it removes two receive frame hooks (for bridge and for
macvlan) from __netif_receive_skb. These are replaced them with a single
hook for both. It only supports one hook per device because it makes no
sense to do bridging and macvlan on the same device.

Then a network driver (of virtual netdev like macvlan or bridge) can register
an rx_handler for needed net device.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found