diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2015-09-13 10:18:33 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-17 15:00:27 -0700 |
commit | 37a1d3611c126fd9782ce5235791f898f053e763 (patch) | |
tree | 6b5f58c44fc55acb1dface329e468ff3f3e52e70 /include/net/ip6_fib.h | |
parent | 20471ed4d403a5f4de6aa0c10cd1e446f7f2b3c7 (diff) | |
download | linux-stable-37a1d3611c126fd9782ce5235791f898f053e763.tar.gz linux-stable-37a1d3611c126fd9782ce5235791f898f053e763.tar.bz2 linux-stable-37a1d3611c126fd9782ce5235791f898f053e763.zip |
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/ip6_fib.h')
-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 063d30474cf6..aaf9700fc9e5 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); |