patch-2.1.9 linux/net/ipv6/udp.c

Next file: linux/net/netrom/Makefile
Previous file: linux/net/ipv6/tcp_ipv6.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.8/linux/net/ipv6/udp.c linux/net/ipv6/udp.c
@@ -564,7 +564,7 @@
 	}
 	
 	udh.uh.source = sk->dummy_th.source;
-	udh.uh.len = htons(ulen);
+	udh.uh.len = htons(len);
 	udh.uh.check = 0;
 	udh.iov = msg->msg_iov;
 	udh.wcheck = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov