freebsd-nq/sys/netinet
Robert Watson 430c635447 Correct a bug introduced with reduced TCP state handling; make
sure that the MAC label on TCP responses during TIMEWAIT is
properly set from either the socket (if available), or the mbuf
that it's responding to.

Unfortunately, this is made somewhat difficult by the TCP code,
as tcp_twstart() calls tcp_twrespond() after discarding the socket
but without a reference to the mbuf that causes the "response".
Passing both the socket and the mbuf works arounds this--eventually
it might be good to make sure the mbuf always gets passed in in
"response" scenarios but working through this provided to
complicate things too much.

Approved by:	re (scottl)
Reviewed by:	hsu
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-05-07 05:26:27 +00:00
..
libalias style.Makefile(5) 2003-04-20 18:38:59 +00:00
accf_data.c
accf_http.c
icmp6.h
icmp_var.h
if_atm.c
if_atm.h
if_ether.c
if_ether.h
igmp_var.h
igmp.c
igmp.h
in_cksum.c
in_gif.c
in_gif.h
in_pcb.c Deprecate machine/limits.h in favor of new sys/limits.h. 2003-04-29 13:36:06 +00:00
in_pcb.h IP_RECVTTL socket option. 2003-04-29 21:36:18 +00:00
in_proto.c
in_rmx.c
in_systm.h
in_var.h
in.c
in.h Add definitions for IN6ADDR_LINKLOCAL_ALLMDNS_INIT and INADDR_ALLMDNS_GROUP. 2003-04-29 22:03:46 +00:00
ip6.h
ip_divert.c Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
ip_dummynet.c Fix indentation. 2003-03-27 15:00:10 +00:00
ip_dummynet.h o Protect set_fs_param() by splimp(9). 2003-03-27 14:56:36 +00:00
ip_ecn.c
ip_ecn.h
ip_encap.c correct two more flag misuses; m_tag* use malloc flags 2003-03-12 14:45:22 +00:00
ip_encap.h
ip_flow.c
ip_flow.h
ip_fw2.c Add a 'verrevpath' option that verifies the interface that a packet 2003-03-15 01:13:00 +00:00
ip_fw.c
ip_fw.h Add a 'verrevpath' option that verifies the interface that a packet 2003-03-15 01:13:00 +00:00
ip_gre.c
ip_gre.h
ip_icmp.c Add a sysctl node allowing the specification of an address mask to use 2003-03-21 15:43:06 +00:00
ip_icmp.h Add comments regarding the ICMP timestamp fields. 2003-03-21 15:28:10 +00:00
ip_id.c
ip_input.c Trim a call to mac_create_mbuf_from_mbuf() since m_tag meta-data 2003-05-06 20:34:04 +00:00
ip_mroute.c Introduce an M_ASSERTPKTHDR() macro which performs the very common task 2003-04-08 14:25:47 +00:00
ip_mroute.h
ip_output.c IP_RECVTTL socket option. 2003-04-29 21:36:18 +00:00
ip_var.h Back out support for RFC3514. 2003-04-02 20:14:44 +00:00
ip.h Back out support for RFC3514. 2003-04-02 20:14:44 +00:00
ipprotosw.h
raw_ip.c
tcp_debug.c
tcp_debug.h
tcp_fsm.h
tcp_input.c Correct a bug introduced with reduced TCP state handling; make 2003-05-07 05:26:27 +00:00
tcp_output.c
tcp_reass.c Correct a bug introduced with reduced TCP state handling; make 2003-05-07 05:26:27 +00:00
tcp_seq.h
tcp_subr.c Correct a bug introduced with reduced TCP state handling; make 2003-05-07 05:26:27 +00:00
tcp_syncache.c
tcp_timer.c
tcp_timer.h
tcp_timewait.c Correct a bug introduced with reduced TCP state handling; make 2003-05-07 05:26:27 +00:00
tcp_usrreq.c
tcp_var.h Correct a bug introduced with reduced TCP state handling; make 2003-05-07 05:26:27 +00:00
tcp.h
tcpip.h
udp_usrreq.c
udp_var.h
udp.h