arm: dts: rk3288-android: add nand support
[firefly-linux-kernel-4.4.55.git] / include / net / switchdev.h
index bc865e244efea0c4757a182274ad7ca9f9cc3266..31d0e51438486e10e5634a71b5bdadbe142c69e7 100644 (file)
@@ -88,7 +88,7 @@ struct switchdev_obj_ipv4_fib {
        struct switchdev_obj obj;
        u32 dst;
        int dst_len;
-       struct fib_info fi;
+       struct fib_info *fi;
        u8 tos;
        u8 type;
        u32 nlflags;
@@ -323,7 +323,7 @@ static inline int switchdev_port_fdb_dump(struct sk_buff *skb,
                                          struct net_device *filter_dev,
                                          int idx)
 {
-       return -EOPNOTSUPP;
+       return idx;
 }
 
 static inline void switchdev_port_fwd_mark_set(struct net_device *dev,