patch-2.3.42 linux/net/ipv6/ipv6_sockglue.c
Next file: linux/net/ipv6/tcp_ipv6.c
Previous file: linux/net/ipv4/tcp_output.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Jan 31 23:41:14 2000
- Orig file:
v2.3.41/linux/net/ipv6/ipv6_sockglue.c
- Orig date:
Fri Jan 28 15:09:09 2000
diff -u --recursive --new-file v2.3.41/linux/net/ipv6/ipv6_sockglue.c linux/net/ipv6/ipv6_sockglue.c
@@ -7,7 +7,7 @@
*
* Based on linux/net/ipv4/ip_sockglue.c
*
- * $Id: ipv6_sockglue.c,v 1.31 2000/01/16 05:11:38 davem Exp $
+ * $Id: ipv6_sockglue.c,v 1.32 2000/01/31 01:21:25 davem Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -183,6 +183,7 @@
local_bh_enable();
sk->prot = &udp_prot;
sk->socket->ops = &inet_dgram_ops;
+ sk->family = PF_INET;
}
opt = xchg(&np->opt, NULL);
if (opt)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)