summaryrefslogtreecommitdiffstats
path: root/net/ipv6/udp.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki2008-06-04 06:02:49 +0200
committerYOSHIFUJI Hideaki2008-06-04 21:02:36 +0200
commit91e1908f569dd96a25a3947de8771e6cc93999dd (patch)
tree552e4ac3dfc4aa0ba3ce8d2a329fb55d4fac72af /net/ipv6/udp.c
parent[IPV6]: Check outgoing interface even if source address is unspecified. (diff)
downloadkernel-qcow2-linux-91e1908f569dd96a25a3947de8771e6cc93999dd.tar.gz
kernel-qcow2-linux-91e1908f569dd96a25a3947de8771e6cc93999dd.tar.xz
kernel-qcow2-linux-91e1908f569dd96a25a3947de8771e6cc93999dd.zip
[IPV6] NETNS: Handle ancillary data in appropriate namespace.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'net/ipv6/udp.c')
-rw-r--r--net/ipv6/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index 47123bf5eb0f..1b35c4722004 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -731,7 +731,7 @@ do_udp_sendmsg:
memset(opt, 0, sizeof(struct ipv6_txoptions));
opt->tot_len = sizeof(*opt);
- 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;