datapath: dont use non-existent receive hooks
authorSimon Horman <horms@verge.net.au>
Mon, 23 Aug 2010 06:30:06 +0000 (15:30 +0900)
committerJesse Gross <jesse@nicira.com>
Mon, 23 Aug 2010 18:37:44 +0000 (14:37 -0400)
commit431585099e82a88a23d5dec28138b5a3a8bb11da
tree93c94bd57f212e2fea6bed9787f1ae00a1441d3d
parent4b70d8583bd8b4fd328cae192be5c60a761e73b1
datapath: dont use non-existent receive hooks

This adds compatibility with kernel changeset
of changeset "net: add rx_handler data pointer"
and thus "net: replace hooks in __netif_receive_skb V5",
which were added between 2.6.35 and 2.6.36-rc1

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/linux-2.6/compat-2.6/include/linux/netdevice.h
datapath/vport-netdev.c