patch-2.0.34 linux/net/ipv4/af_inet.c

Next file: linux/net/ipv4/arp.c
Previous file: linux/net/ipv4/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.33/linux/net/ipv4/af_inet.c linux/net/ipv4/af_inet.c
@@ -838,8 +838,6 @@
 		__u32 addr = sk->rcv_saddr;
 		if (!addr) {
 			addr = sk->saddr;
-			if (!addr)
-				addr = ip_my_addr();
 		}
 		sin->sin_port = sk->dummy_th.source;
 		sin->sin_addr.s_addr = addr;

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