]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
SELinux: return -ECONNREFUSED from ip_postroute to signal fatal error
authorEric Paris <eparis@redhat.com>
Tue, 16 Nov 2010 11:52:57 +0000 (11:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Nov 2010 18:54:35 +0000 (10:54 -0800)
The SELinux netfilter hooks just return NF_DROP if they drop a packet.  We
want to signal that a drop in this hook is a permanant fatal error and is not
transient.  If we do this the error will be passed back up the stack in some
places and applications will get a faster interaction that something went
wrong.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found