summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/net.c
diff options
context:
space:
mode:
authorJiri Pirko2010-06-01 23:52:08 +0200
committerDavid S. Miller2010-06-02 16:11:15 +0200
commitab95bfe01f9872459c8678572ccadbf646badad0 (patch)
tree8e11f94077c9a80f7af52ce3dd50591a686561d7 /drivers/vhost/net.c
parentipv6: Refactor update of IPv6 flowi destination address for srcrt (RH) option (diff)
downloadkernel-qcow2-linux-ab95bfe01f9872459c8678572ccadbf646badad0.tar.gz
kernel-qcow2-linux-ab95bfe01f9872459c8678572ccadbf646badad0.tar.xz
kernel-qcow2-linux-ab95bfe01f9872459c8678572ccadbf646badad0.zip
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 <jpirko@redhat.com> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/vhost/net.c')
0 files changed, 0 insertions, 0 deletions