projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'mvebu-dt-4.2-3' of git://git.infradead.org/linux-mvebu into next/late
[deliverable/linux.git]
/
net
/
switchdev
/
switchdev.c
diff --git
a/net/switchdev/switchdev.c
b/net/switchdev/switchdev.c
index 46568b85c3339f57a0d6835e82eff4b67c3ba326..055453d486683ec19433961db220292e4f60571d 100644
(file)
--- a/
net/switchdev/switchdev.c
+++ b/
net/switchdev/switchdev.c
@@
-338,7
+338,7
@@
int netdev_switch_fib_ipv4_add(u32 dst, int dst_len, struct fib_info *fi,
fi, tos, type, nlflags,
tb_id);
if (!err)
fi, tos, type, nlflags,
tb_id);
if (!err)
- fi->fib_flags |= RTNH_F_
EXTERNAL
;
+ fi->fib_flags |= RTNH_F_
OFFLOAD
;
}
return err;
}
return err;
@@
-364,7
+364,7
@@
int netdev_switch_fib_ipv4_del(u32 dst, int dst_len, struct fib_info *fi,
const struct swdev_ops *ops;
int err = 0;
const struct swdev_ops *ops;
int err = 0;
- if (!(fi->fib_flags & RTNH_F_
EXTERNAL
))
+ if (!(fi->fib_flags & RTNH_F_
OFFLOAD
))
return 0;
dev = netdev_switch_get_dev_by_nhs(fi);
return 0;
dev = netdev_switch_get_dev_by_nhs(fi);
@@
-376,7
+376,7
@@
int netdev_switch_fib_ipv4_del(u32 dst, int dst_len, struct fib_info *fi,
err = ops->swdev_fib_ipv4_del(dev, htonl(dst), dst_len,
fi, tos, type, tb_id);
if (!err)
err = ops->swdev_fib_ipv4_del(dev, htonl(dst), dst_len,
fi, tos, type, tb_id);
if (!err)
- fi->fib_flags &= ~RTNH_F_
EXTERNAL
;
+ fi->fib_flags &= ~RTNH_F_
OFFLOAD
;
}
return err;
}
return err;
This page took
0.02767 seconds
and
5
git commands to generate.