patch-2.2.15 linux/net/ipv4/udp.c
Next file: linux/net/ipv6/Config.in
Previous file: linux/net/ipv4/tcp_timer.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Fri Apr 21 12:47:15 2000
- Orig file:
v2.2.14/net/ipv4/udp.c
- Orig date:
Sat Aug 14 02:27:41 1999
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/net/ipv4/udp.c linux/net/ipv4/udp.c
@@ -857,6 +857,7 @@
sin->sin_family = AF_INET;
sin->sin_port = skb->h.uh->source;
sin->sin_addr.s_addr = skb->nh.iph->saddr;
+ memset(sin->sin_zero, 0, sizeof(sin->sin_zero));
#ifdef CONFIG_IP_TRANSPARENT_PROXY
if (flags&MSG_PROXY)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)