X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Finclude%2Flinux%2Fnetdevice.h;h=d2822017fabcb945c7e0a8be4c5344cfdc6ff6a7;hb=8e04c6e10c28e42c715eb9fef749554c123bddbc;hp=2b2c85511fba5a74c07ca288529e2f49f7fdf59d;hpb=91a5b5be2f1be19d22413cc4194474a48b6a2967;p=sliver-openvswitch.git diff --git a/datapath/linux/compat/include/linux/netdevice.h b/datapath/linux/compat/include/linux/netdevice.h index 2b2c85511..d2822017f 100644 --- a/datapath/linux/compat/include/linux/netdevice.h +++ b/datapath/linux/compat/include/linux/netdevice.h @@ -118,6 +118,11 @@ static inline void netdev_upper_dev_unlink(struct net_device *dev, struct net_device *upper_dev) { } + +static inline struct net_device *netdev_master_upper_dev_get(struct net_device *dev) +{ + return NULL; +} #endif #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)