patch-2.4.4 linux/net/ax25/af_ax25.c

Next file: linux/net/bridge/br_stp_if.c
Previous file: linux/net/atm/svc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/net/ax25/af_ax25.c linux/net/ax25/af_ax25.c
@@ -1451,7 +1451,7 @@
 	/* Assume the worst case */
 	size = len + 3 + ax25_addr_size(dp) + AX25_BPQ_HEADER_LEN;
 
-	if ((skb = sock_alloc_send_skb(sk, size, 0, msg->msg_flags & MSG_DONTWAIT, &err)) == NULL)
+	if ((skb = sock_alloc_send_skb(sk, size, msg->msg_flags & MSG_DONTWAIT, &err)) == NULL)
 		return err;
 
 	skb_reserve(skb, size - len);
@@ -1805,6 +1805,7 @@
 	sendmsg:	ax25_sendmsg,
 	recvmsg:	ax25_recvmsg,
 	mmap:		sock_no_mmap,
+	sendpage:	sock_no_sendpage,
 };
 
 #include <linux/smp_lock.h>

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