[lkml]   [2010]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2/3] network: tcp_connect should return certain errors up the stack
    From: Eric Paris <>
    Date: Tue, 16 Nov 2010 16:52:49 -0500

    > 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 <>
    > Signed-off-by: Eric Paris <>


     \ /
      Last update: 2010-11-17 19:57    [W:0.018 / U:0.396 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site