patch-2.4.4 linux/net/ipv4/af_inet.c
Next file: linux/net/ipv4/arp.c
Previous file: linux/net/econet/sysctl_net_ec.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Thu Apr 12 12:11:39 2001
- Orig file:
v2.4.3/linux/net/ipv4/af_inet.c
- Orig date:
Fri Dec 29 14:07:24 2000
diff -u --recursive --new-file v2.4.3/linux/net/ipv4/af_inet.c linux/net/ipv4/af_inet.c
@@ -5,7 +5,7 @@
*
* PF_INET protocol family socket handler.
*
- * Version: $Id: af_inet.c,v 1.127 2000/12/22 19:51:50 davem Exp $
+ * Version: $Id: af_inet.c,v 1.129 2001/03/02 03:13:05 davem Exp $
*
* Authors: Ross Biro, <bir7@leland.Stanford.Edu>
* Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
@@ -355,6 +355,8 @@
else
sk->protinfo.af_inet.pmtudisc = IP_PMTUDISC_WANT;
+ sk->protinfo.af_inet.id = 0;
+
sock_init_data(sock,sk);
sk->destruct = inet_sock_destruct;
@@ -934,7 +936,8 @@
getsockopt: inet_getsockopt,
sendmsg: inet_sendmsg,
recvmsg: inet_recvmsg,
- mmap: sock_no_mmap
+ mmap: sock_no_mmap,
+ sendpage: tcp_sendpage
};
struct proto_ops inet_dgram_ops = {
@@ -955,6 +958,7 @@
sendmsg: inet_sendmsg,
recvmsg: inet_recvmsg,
mmap: sock_no_mmap,
+ sendpage: sock_no_sendpage,
};
struct net_proto_family inet_family_ops = {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)