Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target...
[deliverable/linux.git] / net / switchdev / switchdev.c
index 59658b2e9cdf7e5bf4240d1572b265976053f1a6..a5fc9dd24aa9101eb80478f31a78d5fc6a278bd0 100644 (file)
@@ -1286,8 +1286,8 @@ void switchdev_fib_ipv4_abort(struct fib_info *fi)
 }
 EXPORT_SYMBOL_GPL(switchdev_fib_ipv4_abort);
 
-static bool switchdev_port_same_parent_id(struct net_device *a,
-                                         struct net_device *b)
+bool switchdev_port_same_parent_id(struct net_device *a,
+                                  struct net_device *b)
 {
        struct switchdev_attr a_attr = {
                .orig_dev = a,
@@ -1323,6 +1323,7 @@ static u32 switchdev_port_fwd_mark_get(struct net_device *dev,
 
        return dev->ifindex;
 }
+EXPORT_SYMBOL_GPL(switchdev_port_same_parent_id);
 
 static void switchdev_port_fwd_mark_reset(struct net_device *group_dev,
                                          u32 old_mark, u32 *reset_mark)
This page took 0.026694 seconds and 5 git commands to generate.