diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2015-09-13 17:18:33 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-17 22:00:27 (GMT) |
commit | 37a1d3611c126fd9782ce5235791f898f053e763 (patch) | |
tree | 6b5f58c44fc55acb1dface329e468ff3f3e52e70 /include/net | |
parent | 20471ed4d403a5f4de6aa0c10cd1e446f7f2b3c7 (diff) | |
download | linux-37a1d3611c126fd9782ce5235791f898f053e763.tar.xz |
ipv6: include NLM_F_REPLACE in route replace notifications
This patch adds NLM_F_REPLACE flag to ipv6 route replace notifications.
This makes nlm_flags in ipv6 replace notifications consistent
with ipv4.
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ip6_fib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h index 063d304..aaf9700 100644 --- a/include/net/ip6_fib.h +++ b/include/net/ip6_fib.h @@ -275,7 +275,8 @@ int fib6_add(struct fib6_node *root, struct rt6_info *rt, struct nl_info *info, struct mx6_config *mxc); int fib6_del(struct rt6_info *rt, struct nl_info *info); -void inet6_rt_notify(int event, struct rt6_info *rt, struct nl_info *info); +void inet6_rt_notify(int event, struct rt6_info *rt, struct nl_info *info, + unsigned int flags); void fib6_run_gc(unsigned long expires, struct net *net, bool force); |