1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-01 12:19:28 +00:00
freebsd/sys/netinet
Andre Oppermann 2c30ec0a1f When tcp_output() receives an error upon sending a packet it reverts parts
of its internal state to ignore the failed send and try again a bit later.
If the error is EPERM the packet got blocked by the local firewall and the
revert may cause the session to get stuck and retry indefinitely.  This way
we treat it like a packet loss and let the retransmit timer and timeouts
do their work over time.

The correct behavior is to drop a connection that gets an EPERM error.
However this _may_ introduce some POLA problems and a two commit approach
was chosen.

Discussed with:	glebius
PR:		kern/25986
PR:		kern/102653
2006-09-28 18:02:46 +00:00
..
libalias Compilation. 2006-09-27 02:08:44 +00:00
accf_data.c
accf_http.c
icmp6.h
icmp_var.h
if_atm.c
if_atm.h
if_ether.c now that we don't automagicly increase the MTU of host routes, when we copy 2006-09-23 19:24:10 +00:00
if_ether.h
igmp_var.h
igmp.c
igmp.h
in_cksum.c
in_gif.c With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
in_gif.h
in_pcb.c o Backout rev. 1.125 of in_pcb.c. It appeared to behave extremely 2006-09-06 13:56:35 +00:00
in_pcb.h Fix race conditions on enumerating pcb lists by moving the initialization 2006-07-18 22:34:27 +00:00
in_proto.c
in_rmx.c Complete timebase (time_second -> time_uptime) conversion. 2006-07-05 23:37:21 +00:00
in_systm.h
in_var.h The IPv4 code should clean up multicast group state when an interface 2006-09-28 10:04:07 +00:00
in.c The IPv4 code should clean up multicast group state when an interface 2006-09-28 10:04:07 +00:00
in.h Fix a long-standing limitation in IPv4 multicast group membership. 2006-05-14 14:22:49 +00:00
ip6.h
ip_carp.c Fix an incompatibility between CARP and IPv4 multicast routing, whereby 2006-09-25 11:53:54 +00:00
ip_carp.h
ip_divert.c Fix race conditions on enumerating pcb lists by moving the initialization 2006-07-18 22:34:27 +00:00
ip_divert.h
ip_dummynet.c Fix following rules: pipe X (tag|altq) Y ... 2006-06-08 11:13:23 +00:00
ip_dummynet.h
ip_ecn.c
ip_ecn.h
ip_encap.c With exception of the if_name() macro, all definitions in net_osdep.h 2006-08-04 21:27:40 +00:00
ip_encap.h
ip_fastfwd.c Remove the IPFIREWALL_FORWARD_EXTENDED option and make it on by default as it always was 2006-08-17 00:37:03 +00:00
ip_fw2.c Handle a list of IPv6 src and dst addresses correctly, eg. 2006-09-16 10:27:05 +00:00
ip_fw_pfil.c Reintroduce net.inet6.ip6.fw.enable sysctl to dis/enable the ipv6 processing 2006-05-12 04:41:27 +00:00
ip_fw.h comply with style police 2006-08-18 22:36:05 +00:00
ip_gre.c Fix the following bpf(4) race condition which can result in a panic: 2006-06-02 19:59:33 +00:00
ip_gre.h
ip_icmp.c
ip_icmp.h
ip_id.c
ip_input.c Remove the IPFIREWALL_FORWARD_EXTENDED option and make it on by default as it always was 2006-08-17 00:37:03 +00:00
ip_ipsec.c Remove unneeded mac.h include. 2006-07-06 13:25:01 +00:00
ip_ipsec.h
ip_mroute.c Fix the IPv4 multicast routing detach path. On interface detach whilst 2006-09-28 12:21:08 +00:00
ip_mroute.h
ip_options.c
ip_options.h
ip_output.c Account for output IP datagrams on the ifaddr where they originated from, 2006-09-25 10:11:16 +00:00
ip_var.h Fix a long-standing limitation in IPv4 multicast group membership. 2006-05-14 14:22:49 +00:00
ip.h
ipprotosw.h
pim_var.h
pim.h
raw_ip.c Check inp_flags instead of inp_vflag for INP_ONESBCAST flag. 2006-09-06 19:04:36 +00:00
tcp_debug.c
tcp_debug.h
tcp_fsm.h
tcp_hostcache.c
tcp_input.c fix calculating to_tsecr... This prevents the rtt calculations from 2006-09-26 01:21:46 +00:00
tcp_output.c When tcp_output() receives an error upon sending a packet it reverts parts 2006-09-28 18:02:46 +00:00
tcp_reass.c fix calculating to_tsecr... This prevents the rtt calculations from 2006-09-26 01:21:46 +00:00
tcp_sack.c Eliminate debug code that catches bugs in the hinting of sack variables 2006-04-06 17:21:16 +00:00
tcp_seq.h Remove T/TCP RFC1644 Connection Count comparison macros. They are no longer 2006-06-18 14:24:12 +00:00
tcp_subr.c Add a sysctl net.inet.tcp.nolocaltimewait that allows to suppress 2006-09-08 13:09:15 +00:00
tcp_syncache.c Add missing #ifdef INET6 (can't be compiled) 2006-09-14 10:22:35 +00:00
tcp_timer.c Back when we had T/TCP support, we used to apply different 2006-09-07 13:06:00 +00:00
tcp_timer.h if min is greater than max, prefer max over min... I managed to get a 2006-09-25 07:22:39 +00:00
tcp_timewait.c Add a sysctl net.inet.tcp.nolocaltimewait that allows to suppress 2006-09-08 13:09:15 +00:00
tcp_usrreq.c Make tcp_usr_send() free the passed mbufs on error in all cases as the 2006-09-17 13:39:35 +00:00
tcp_var.h Rewrite of TCP syncookies to remove locking requirements and to enhance 2006-09-13 13:08:27 +00:00
tcp.h
tcpip.h
udp_usrreq.c Check inp_flags instead of inp_vflag for INP_ONESBCAST flag. 2006-09-06 19:04:36 +00:00
udp_var.h
udp.h