NetBSD/sys/netinet
itojun 809ab7f1ff When listening socket goes away, remove assockated syn cache entires.
Stale syn cache entries are useless because none of them will be used
if there is no listening socket, as tcp_input looks up listening socket by
in_pcblookup*() before looking into syn cache.

This fixes race condition due to dangling socket pointer from syn cache
entries to listening socket (this was introduced when ipsec is merged in).

This should preserve currently implemented behavior (but not 4.4BSD
behavior prior to syn cache).

Tested in KAME repository before commit, but we'd better run some
regression tests.
1999-08-25 15:23:12 +00:00
..
fil.c Remove SCCS markers and make these compile in $NetBSD$ IDs. 1999-02-02 19:57:30 +00:00
icmp6.h RCS ID police. 1999-07-03 21:24:45 +00:00
icmp_var.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
if_arp.c Cleanup a little kludge in mtu handling in route.c. Bring down FDDI 1999-08-21 03:46:35 +00:00
if_atm.c IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628. 1999-07-01 08:12:45 +00:00
if_atm.h Fix copyright spacing and 'Van' -> 'van' for consistency. 1998-09-13 15:45:40 +00:00
if_ether.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
if_inarp.h Implement arp_drain(), which frees packets tied up in the arp cache if 1999-08-05 04:04:28 +00:00
igmp_var.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
igmp.c defopt IPSEC and IPSEC_ESP (both into opt_ipsec.h). 1999-07-09 22:57:15 +00:00
igmp.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
in_cksum.c backout previous kprintf changes 1996-10-13 02:03:00 +00:00
in_gif.c do not capture packets by gif, when gif interface is down. 1999-08-20 10:07:40 +00:00
in_gif.h sync with KAME/NetBSD 1.4, SNAP kit 19990705. 1999-07-06 12:23:19 +00:00
in_pcb.c defopt IPSEC and IPSEC_ESP (both into opt_ipsec.h). 1999-07-09 22:57:15 +00:00
in_pcb.h IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628. 1999-07-01 08:12:45 +00:00
in_proto.c defopt IPSEC and IPSEC_ESP (both into opt_ipsec.h). 1999-07-09 22:57:15 +00:00
in_systm.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
in_var.h IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628. 1999-07-01 08:12:45 +00:00
in.c IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628. 1999-07-01 08:12:45 +00:00
in.h move ipsec sysctl index to IPPROTO_AH (instead of IPPROTO_ESP), 1999-07-02 08:46:47 +00:00
ip6.h RCS ID police. 1999-07-03 21:24:45 +00:00
ip_auth.c Remove SCCS markers and make these compile in $NetBSD$ IDs. 1999-02-02 19:57:30 +00:00
ip_auth.h merge ipf 3.2.10 1998-11-22 15:17:18 +00:00
ip_compat.h merge ipf 3.2.10 1998-11-22 15:17:18 +00:00
ip_ecn.c sync with recent KAME. 1999-07-31 18:41:15 +00:00
ip_ecn.h sync with recent KAME. 1999-07-31 18:41:15 +00:00
ip_fil.c Remove SCCS markers and make these compile in $NetBSD$ IDs. 1999-02-02 19:57:30 +00:00
ip_fil.h remove this insanity. appeared with ipfilter 3.2.10... 1998-12-11 23:47:16 +00:00
ip_flow.c security: test for ip_len < ip_hl <<2 and drop packet accordingly 1999-03-26 08:51:35 +00:00
ip_frag.c Remove SCCS markers and make these compile in $NetBSD$ IDs. 1999-02-02 19:57:30 +00:00
ip_frag.h merge ipf 3.2.10 1998-11-22 15:17:18 +00:00
ip_ftp_pxy.c add two more prototypes. noted missing by mjacob. 1998-11-22 23:30:36 +00:00
ip_gre.c Don't screw with ip_len; just subtract from it where we actually use the 1999-01-19 23:03:20 +00:00
ip_gre.h Fix some typos in comments, and clean up some whitespace. 1998-10-07 23:33:02 +00:00
ip_icmp.c defopt IPSEC and IPSEC_ESP (both into opt_ipsec.h). 1999-07-09 22:57:15 +00:00
ip_icmp.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
ip_input.c do not include unnecessary include files. 1999-07-23 15:21:17 +00:00
ip_ipip.c - Make sure that interface can't be marked up before a route to the remote 1999-04-04 09:10:27 +00:00
ip_ipip.h Separate out the IP-in-IP implementation from the GRE code. This cleans 1999-01-11 21:26:53 +00:00
ip_log.c defopt IPFILTER_LOG 1998-12-10 15:50:59 +00:00
ip_mroute.c defopt IPSEC and IPSEC_ESP (both into opt_ipsec.h). 1999-07-09 22:57:15 +00:00
ip_mroute.h IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628. 1999-07-01 08:12:45 +00:00
ip_nat.c Minor cleanup to use LONG_SUM() and CALC_SUMD() more. 1999-03-05 07:27:09 +00:00
ip_nat.h merge ipf 3.2.10 1998-11-22 15:17:18 +00:00
ip_output.c defopt IPSEC and IPSEC_ESP (both into opt_ipsec.h). 1999-07-09 22:57:15 +00:00
ip_proxy.c Fix for kern/7831 from Darren Reed after discussion on tech-net 2 weeks ago: 1999-08-24 16:10:35 +00:00
ip_proxy.h merge ipf 3.2.10 1998-11-22 15:17:18 +00:00
ip_state.c Remove SCCS markers and make these compile in $NetBSD$ IDs. 1999-02-02 19:57:30 +00:00
ip_state.h merge ipf 3.2.10 1998-11-22 15:17:18 +00:00
ip_var.h sync with KAME/NetBSD 1.4, SNAP kit 19990705. 1999-07-06 12:23:19 +00:00
ip.h IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628. 1999-07-01 08:12:45 +00:00
Makefile IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628. 1999-07-01 08:12:45 +00:00
raw_ip.c defopt IPSEC and IPSEC_ESP (both into opt_ipsec.h). 1999-07-09 22:57:15 +00:00
tcp_debug.c IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628. 1999-07-01 08:12:45 +00:00
tcp_debug.h sync with recent KAME. 1999-07-31 18:41:15 +00:00
tcp_fsm.h Back out the change from TCP/IP vol 2, in revision 1.7, which removed TH_FIN 1998-07-09 05:49:56 +00:00
tcp_input.c When listening socket goes away, remove assockated syn cache entires. 1999-08-25 15:23:12 +00:00
tcp_output.c defopt IPSEC and IPSEC_ESP (both into opt_ipsec.h). 1999-07-09 22:57:15 +00:00
tcp_seq.h Adapt the NEWRENO changes from the UCSB diffs of BSDI 3.0's TCP 1998-10-04 21:33:52 +00:00
tcp_subr.c When listening socket goes away, remove assockated syn cache entires. 1999-08-25 15:23:12 +00:00
tcp_timer.c Use proper ip protocol # field and tcp hdr on sending RST against SYN, 1999-07-14 22:37:13 +00:00
tcp_timer.h Create tcp.keepidle, tcp.keepintvl, tcp.keepcnt, tcp.slowhz sysctls. 1998-09-10 10:46:03 +00:00
tcp_usrreq.c defopt IPSEC and IPSEC_ESP (both into opt_ipsec.h). 1999-07-09 22:57:15 +00:00
tcp_var.h When listening socket goes away, remove assockated syn cache entires. 1999-08-25 15:23:12 +00:00
tcp.h Adapt the NEWRENO changes from the UCSB diffs of BSDI 3.0's TCP 1998-10-04 21:33:52 +00:00
tcpip.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
udp_usrreq.c return with doing nothing from xx_ctlinput(), when sa->sa_family 1999-08-09 10:55:29 +00:00
udp_var.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00
udp.h add/cleanup multiple inclusion protection. 1998-02-10 01:26:19 +00:00