]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv6/raw.c
[IPV6] NETNS: Handle ancillary data in appropriate namespace.
[linux-2.6-omap-h63xx.git] / net / ipv6 / raw.c
index 232e0dc45bf58a91526d3f292eb7b90b654fcac3..603df76e052267f5882952e59e51296912143653 100644 (file)
@@ -813,7 +813,7 @@ static int rawv6_sendmsg(struct kiocb *iocb, struct sock *sk,
                memset(opt, 0, sizeof(struct ipv6_txoptions));
                opt->tot_len = sizeof(struct ipv6_txoptions);
 
-               err = datagram_send_ctl(msg, &fl, opt, &hlimit, &tclass);
+               err = datagram_send_ctl(sock_net(sk), msg, &fl, opt, &hlimit, &tclass);
                if (err < 0) {
                        fl6_sock_release(flowlabel);
                        return err;