X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Finclude%2Flinux%2Fnetdevice.h;h=2b2c85511fba5a74c07ca288529e2f49f7fdf59d;hb=c1f90e07a6733dd4399bbb47ed6d63c6fa07573f;hp=4e2b7f55a7ebaac7b8f1787586bc8587397b3668;hpb=6b30e53e6290b43e60c7c6f64f568a1d17961920;p=sliver-openvswitch.git diff --git a/datapath/linux/compat/include/linux/netdevice.h b/datapath/linux/compat/include/linux/netdevice.h index 4e2b7f55a..2b2c85511 100644 --- a/datapath/linux/compat/include/linux/netdevice.h +++ b/datapath/linux/compat/include/linux/netdevice.h @@ -120,4 +120,9 @@ static inline void netdev_upper_dev_unlink(struct net_device *dev, } #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37) +#define dev_queue_xmit rpl_dev_queue_xmit +int dev_queue_xmit(struct sk_buff *skb); +#endif + #endif