[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101117.105600.179937042.davem@davemloft.net>
Date: Wed, 17 Nov 2010 10:56:00 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eparis@...hat.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
selinux@...ho.nsa.gov, netfilter-devel@...r.kernel.org,
equinox@...c24.net, eric.dumazet@...il.com, hzhong@...il.com,
jmorris@...ei.org, kaber@...sh.net, kuznet@....inr.ac.ru,
paul.moore@...com, pekkas@...core.fi, sds@...ho.nsa.gov,
yoshfuji@...ux-ipv6.org
Subject: Re: [PATCH 2/3] network: tcp_connect should return certain errors
up the stack
From: Eric Paris <eparis@...hat.com>
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 <kaber@...sh.net>
> Signed-off-by: Eric Paris <eparis@...hat.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists