From: Jiri Pirko Date: Tue, 1 Jun 2010 21:52:08 +0000 (+0000) Subject: net: replace hooks in __netif_receive_skb V5 X-Git-Tag: v2.6.36-rc1~571^2~670 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab95bfe01f9872459c8678572ccadbf646badad0;p=pandora-kernel.git net: replace hooks in __netif_receive_skb V5 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 Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- Reading git-diff-tree failed