diff options
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/route.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 4004c5f0b8d7..162cb66d4605 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -1960,6 +1960,7 @@ static int rtm_to_fib6_config(struct sk_buff *skb, struct nlmsghdr *nlh, | |||
1960 | 1960 | ||
1961 | cfg->fc_nlinfo.pid = NETLINK_CB(skb).pid; | 1961 | cfg->fc_nlinfo.pid = NETLINK_CB(skb).pid; |
1962 | cfg->fc_nlinfo.nlh = nlh; | 1962 | cfg->fc_nlinfo.nlh = nlh; |
1963 | cfg->fc_nlinfo.nl_net = skb->sk->sk_net; | ||
1963 | 1964 | ||
1964 | if (tb[RTA_GATEWAY]) { | 1965 | if (tb[RTA_GATEWAY]) { |
1965 | nla_memcpy(&cfg->fc_gateway, tb[RTA_GATEWAY], 16); | 1966 | nla_memcpy(&cfg->fc_gateway, tb[RTA_GATEWAY], 16); |