datapath: Update netdev_frame_hook() for 2.6.39 rx handler API change.
authorAndrew Evans <aevans@nicira.com>
Thu, 7 Apr 2011 19:43:18 +0000 (19:43 +0000)
committerAndrew Evans <aevans@nicira.com>
Thu, 7 Apr 2011 20:27:32 +0000 (20:27 +0000)
commit898ba403b07d89939b6de2abaf899a5d81a9730e
treef3d201fa74e4c637966157c2601d56c1b03a30f1
parent76c9c4231400245864addfc7a8aabaa79843b4bd
datapath: Update netdev_frame_hook() for 2.6.39 rx handler API change.

netdev_rx_handler_register() changed the type of the skb argument to the
callback function as well as the return type. Special-case
netdev_frame_hook() to do the right thing on 2.6.39 and later.

Signed-off-by: Andrew Evans <aevans@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/vport-netdev.c