Eric Paris ee58681195 network: tcp_connect should return certain errors up the stack
The current tcp_connect code completely ignores errors from sending an skb.
This makes sense in many situations (like -ENOBUFFS) but I want to be able to
immediately fail connections if they are denied by the SELinux netfilter hook.
Netfilter does not normally return ECONNREFUSED when it drops a packet so we
respect that error code as a final and fatal error that can not be recovered.

Based-on-patch-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-11-17 10:54:35 -08:00
..
2010-10-25 13:09:44 -07:00
2010-11-12 14:07:14 -08:00
2010-11-16 11:17:43 -08:00
2010-10-21 15:44:13 +02:00
2010-11-15 13:24:06 -05:00
2010-11-10 12:12:00 -08:00
2010-10-29 04:16:28 -04:00
2010-11-08 13:50:09 -08:00
2010-10-21 03:09:46 -07:00
2010-10-15 15:53:27 +02:00
2010-11-12 13:27:25 -08:00