"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "f5f293a4e3d0a0c52cec31de6762c95050156516"
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>
Loading
Please register or sign in to comment