netfilter: nft_meta: improve the validity check of pkttype set expr
[deliverable/linux.git] / include / net / switchdev.h
index 1d8e158241da742eb845ac30bab4292cec33d479..62f6a967a1b75e3fc9f4ddcef7ffc42209e624e4 100644 (file)
@@ -227,6 +227,8 @@ void switchdev_port_fwd_mark_set(struct net_device *dev,
                                 struct net_device *group_dev,
                                 bool joining);
 
+bool switchdev_port_same_parent_id(struct net_device *a,
+                                  struct net_device *b);
 #else
 
 static inline void switchdev_deferred_process(void)
@@ -351,6 +353,12 @@ static inline void switchdev_port_fwd_mark_set(struct net_device *dev,
 {
 }
 
+static inline bool switchdev_port_same_parent_id(struct net_device *a,
+                                                struct net_device *b)
+{
+       return false;
+}
+
 #endif
 
 #endif /* _LINUX_SWITCHDEV_H_ */
This page took 0.024438 seconds and 5 git commands to generate.