]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv6/route.c
[IPV6]: Add missing initializations of the new nl_info.nl_net field
[linux-2.6-omap-h63xx.git] / net / ipv6 / route.c
index 6e7b56ef44499c0bf5bf48af941f8b77181131df..e8b241cb60bc434a4240e0d955f0a1d168b39e07 100644 (file)
@@ -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);