freebsd-skq/sys/netinet
rwatson 573f176594 In ip_ctloutput(), check for a NULL inpcb pointer before dereferencing,
as this can occur with TCP if protocol-layer socket options are set or
queried after the connection has closed.  There are still races
associated with ip_ctloutput() and connection close with TCP, corrected
in HEAD via a more comprehensive set of changes, but this fixes the
trivial panic reported on several occasions.

This is a RELENG_6_1 and RELENG_6_0 errata branch candidate.

PR:		97095
Tested by:	Stanislaw Halik <sthalik at tehran dot lain dot pl>
MFC after:	3 days
2006-07-03 23:14:28 +00:00
..
libalias Libalias incorrectly applies proxy rules to the global divert 2005-06-27 22:21:42 +00:00
accf_data.c
accf_http.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
icmp6.h MFC: sync with KAME regarding NDP 2005-12-25 14:03:38 +00:00
icmp_var.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_atm.c MFC 1.21: 2005-08-31 13:58:28 +00:00
if_atm.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
if_ether.c Partial backout. Do not use time_uptime instead of time_second, since 2006-03-22 07:48:31 +00:00
if_ether.h Add CARP (Common Address Redundancy Protocol), which allows multiple 2005-02-22 13:04:05 +00:00
igmp_var.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
igmp.c Merge subr_witness.c:1.196, igmp.c:1.49, in.c:1.86, in_var.h:1.55, 2005-08-24 17:30:44 +00:00
igmp.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
in_cksum.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
in_gif.c MFC: 2006-01-31 15:56:47 +00:00
in_gif.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
in_pcb.c Merge in_pcb.c:1.167 from HEAD to RELENG_6: 2006-02-14 22:09:27 +00:00
in_pcb.h Merge in_pcb.h:1.84 from HEAD to RELENG_6: 2006-06-11 16:20:55 +00:00
in_proto.c MFC: EtherIP support, adding gif interfaces to bridges. 2006-01-03 08:15:33 +00:00
in_rmx.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
in_systm.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
in_var.h Merge subr_witness.c:1.196, igmp.c:1.49, in.c:1.86, in_var.h:1.55, 2005-08-24 17:30:44 +00:00
in.c MFC 1.93: In in_control() only remove in_ifaddr from ia_hash if it is an 2006-01-31 16:11:37 +00:00
in.h MFC of SCTP protocol number. 2005-12-27 00:52:24 +00:00
ip6.h MFC: move RFC3542 related definitions into ip6.h. 2005-10-09 05:50:43 +00:00
ip_carp.c MFC: ip_carp.c, 1.33 2005-12-25 21:59:20 +00:00
ip_carp.h Add CARP (Common Address Redundancy Protocol), which allows multiple 2005-02-22 13:04:05 +00:00
ip_divert.c MFC: Allow for nmbclusters and maxsockets to be increased via sysctl. 2006-05-16 07:27:49 +00:00
ip_divert.h Convert IPDIVERT into a loadable module. This makes use of the dynamic loadability 2004-10-19 21:14:57 +00:00
ip_dummynet.c MFC: Obey opt_inet6.h in kernel build directory. 2006-02-23 08:28:15 +00:00
ip_dummynet.h MFC: Fix a bug that prevented passing IP fragments through a dummynet. 2006-02-17 16:46:47 +00:00
ip_ecn.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ip_ecn.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ip_encap.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ip_encap.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ip_fastfwd.c MFC rev. 1.31 (correct layer 2 broad- and multicast handling) and rev. 1.29 2005-08-29 17:52:53 +00:00
ip_fw2.c MFC 1.136: 2006-06-29 18:36:39 +00:00
ip_fw_pfil.c MFC: obey opt_inet6.h and opt_ipsec.h in kernel build directory. 2006-02-11 08:19:37 +00:00
ip_fw.h MFC: Fix a bug that prevented passing IP fragments through a dummynet. 2006-02-17 16:46:47 +00:00
ip_gre.c MFC: 2006-01-27 21:50:11 +00:00
ip_gre.h MFC: 2006-01-27 21:50:11 +00:00
ip_icmp.c MFC ip_icmp.c rev. 1.103-1.106+1.108: 2006-02-16 17:50:57 +00:00
ip_icmp.h Pass icmp_error() the MTU argument directly instead of 2005-05-04 13:09:19 +00:00
ip_id.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ip_input.c MFC: Allow for nmbclusters and maxsockets to be increased via sysctl. 2006-05-16 07:27:49 +00:00
ip_mroute.c MFC 1.117: In ip_mdq() compute TV_DELTA the correct way around. 2006-01-31 16:13:22 +00:00
ip_mroute.h MFC: 1.25, 1.26: Fix multicast routing on 64-bit platforms. 2006-02-03 15:51:17 +00:00
ip_output.c In ip_ctloutput(), check for a NULL inpcb pointer before dereferencing, 2006-07-03 23:14:28 +00:00
ip_var.h Check the alignment of the IP header before passing the packet up to the 2005-07-02 23:13:31 +00:00
ip.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
ipprotosw.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
pim_var.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
pim.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
raw_ip.c MFC: Allow for nmbclusters and maxsockets to be increased via sysctl. 2006-05-16 07:27:49 +00:00
tcp_debug.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
tcp_debug.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
tcp_fsm.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
tcp_hostcache.c /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
tcp_input.c Merge tcp_input.c:1.292, tcp_timer.c:1.77 from HEAD to RELENG_6: 2006-06-11 16:18:50 +00:00
tcp_output.c Replace t_force with a t_flag (TF_FORCEDATA). 2005-05-21 00:38:29 +00:00
tcp_sack.c MFC (by andre) 2005-10-09 03:17:41 +00:00
tcp_seq.h - Tighten up the Timestamp checks to prevent a spoofed segment from 2005-04-10 05:24:59 +00:00
tcp_subr.c MFC: Allow for nmbclusters and maxsockets to be increased via sysctl. 2006-05-16 07:27:49 +00:00
tcp_syncache.c MFC: rev 1.84 2006-02-16 01:06:22 +00:00
tcp_timer.c Merge tcp_input.c:1.292, tcp_timer.c:1.77 from HEAD to RELENG_6: 2006-06-11 16:18:50 +00:00
tcp_timer.h MFC: Have TCP Inflight disable itself if the RTT is below a certain 2006-03-01 21:13:29 +00:00
tcp_usrreq.c MFC: scope cleanup. with this change 2005-11-04 20:26:16 +00:00
tcp_var.h MFC: Have TCP Inflight disable itself if the RTT is below a certain 2006-03-01 21:13:29 +00:00
tcp.h MFC (by ps): 2005-10-09 03:22:51 +00:00
tcpip.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
udp_usrreq.c MFC: Allow for nmbclusters and maxsockets to be increased via sysctl. 2006-05-16 07:27:49 +00:00
udp_var.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00
udp.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00