patch-1.3.91 linux/net/netrom/nr_out.c

Next file: linux/scripts/Menuconfig
Previous file: linux/net/netrom/nr_dev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.90/linux/net/netrom/nr_out.c linux/net/netrom/nr_out.c
@@ -52,7 +52,7 @@
 	unsigned char transport[NR_TRANSPORT_LEN];
 	int err, frontlen, len, mtu;
 
-	mtu = sk->nr->device->mtu;
+	mtu = sk->nr->paclen;
 	
 	if (skb->len - NR_TRANSPORT_LEN > mtu) {
 		/* Save a copy of the Transport Header */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this