datapath: fix vport-netdev unregister
[cascardo/ovs.git] / datapath / linux / compat / include / linux / netdevice.h
index 4e2b7f5..908ed86 100644 (file)
@@ -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
 
 #endif