patch-2.4.4 linux/net/irda/af_irda.c

Next file: linux/net/irda/irda_device.c
Previous file: linux/net/ipx/sysctl_net_ipx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/net/irda/af_irda.c linux/net/irda/af_irda.c
@@ -1257,7 +1257,7 @@
 		len = self->max_data_size;
 	}
 
-	skb = sock_alloc_send_skb(sk, len + self->max_header_size, 0, 
+	skb = sock_alloc_send_skb(sk, len + self->max_header_size, 
 				  msg->msg_flags & MSG_DONTWAIT, &err);
 	if (!skb)
 		return -ENOBUFS;
@@ -1500,7 +1500,7 @@
 		len = self->max_data_size;
 	}
 
-	skb = sock_alloc_send_skb(sk, len + self->max_header_size, 0, 
+	skb = sock_alloc_send_skb(sk, len + self->max_header_size, 
 				  msg->msg_flags & MSG_DONTWAIT, &err);
 	if (!skb)
 		return -ENOBUFS;
@@ -1563,7 +1563,7 @@
 		len = self->max_data_size;
 	}
 
-	skb = sock_alloc_send_skb(sk, len + self->max_header_size, 0, 
+	skb = sock_alloc_send_skb(sk, len + self->max_header_size, 
 				  msg->msg_flags & MSG_DONTWAIT, &err);
 	if (!skb)
 		return -ENOBUFS;
@@ -2256,6 +2256,7 @@
 	sendmsg:	irda_sendmsg,
 	recvmsg:	irda_recvmsg_stream,
 	mmap:		sock_no_mmap,
+	sendpage:	sock_no_sendpage,
 };
 
 static struct proto_ops SOCKOPS_WRAPPED(irda_seqpacket_ops) = {
@@ -2276,6 +2277,7 @@
 	sendmsg:	irda_sendmsg,
 	recvmsg:	irda_recvmsg_dgram,
 	mmap:		sock_no_mmap,
+	sendpage:	sock_no_sendpage,
 };
 
 static struct proto_ops SOCKOPS_WRAPPED(irda_dgram_ops) = {
@@ -2296,6 +2298,7 @@
 	sendmsg:	irda_sendmsg_dgram,
 	recvmsg:	irda_recvmsg_dgram,
 	mmap:		sock_no_mmap,
+	sendpage:	sock_no_sendpage,
 };
 
 #ifdef CONFIG_IRDA_ULTRA
@@ -2317,6 +2320,7 @@
 	sendmsg:	irda_sendmsg_ultra,
 	recvmsg:	irda_recvmsg_dgram,
 	mmap:		sock_no_mmap,
+	sendpage:	sock_no_sendpage,
 };
 #endif /* CONFIG_IRDA_ULTRA */
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)