diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 4004c5f0b8d78eec1ad2ae6fbd2a3494645dac5c..162cb66d460502791ceb8aee658902295bd7faac 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, cfg->fc_nlinfo.pid = NETLINK_CB(skb).pid; cfg->fc_nlinfo.nlh = nlh; + cfg->fc_nlinfo.nl_net = skb->sk->sk_net; if (tb[RTA_GATEWAY]) { nla_memcpy(&cfg->fc_gateway, tb[RTA_GATEWAY], 16);