[IPV6]: Add missing initializations of the new nl_info.nl_net field
Add some more missing initializations of the new nl_info.nl_net field in IPv6 stack. This field will be used when network namespaces are fully supported. Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
3dbf8d56a2
commit
f1243c2db6
@@ -1719,6 +1719,8 @@ static void rtmsg_to_fib6_config(struct in6_rtmsg *rtmsg,
|
||||
cfg->fc_src_len = rtmsg->rtmsg_src_len;
|
||||
cfg->fc_flags = rtmsg->rtmsg_flags;
|
||||
|
||||
cfg->fc_nlinfo.nl_net = &init_net;
|
||||
|
||||
ipv6_addr_copy(&cfg->fc_dst, &rtmsg->rtmsg_dst);
|
||||
ipv6_addr_copy(&cfg->fc_src, &rtmsg->rtmsg_src);
|
||||
ipv6_addr_copy(&cfg->fc_gateway, &rtmsg->rtmsg_gateway);
|
||||
|
Reference in New Issue
Block a user