patch-1.3.67 linux/net/ipv4/udp.c
Next file: linux/scripts/ksymoops.cc
Previous file: linux/net/ipv4/timer.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Feb 20 13:51:44 1996
- Orig file:
v1.3.66/linux/net/ipv4/udp.c
- Orig date:
Sat Feb 17 16:02:59 1996
diff -u --recursive --new-file v1.3.66/linux/net/ipv4/udp.c linux/net/ipv4/udp.c
@@ -573,15 +573,14 @@
}
-static void udp_close(struct sock *sk, int timeout)
+static void udp_close(struct sock *sk, unsigned long timeout)
{
lock_sock(sk);
sk->state = TCP_CLOSE;
if(uh_cache_sk==sk)
udp_cache_zap();
release_sock(sk);
- if (sk->dead)
- destroy_sock(sk);
+ destroy_sock(sk);
}
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