[NETFILTER] ctnetlink: propagate error instaed of returning -EPERM
commitfcda46128d5cb50075339b79ce585ab767337e9e
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 9 Nov 2005 21:03:26 +0000 (9 13:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2005 21:03:26 +0000 (9 13:03 -0800)
tree38411c71609c071b697d3b3738a9c7df3e40a8bb
parentfe902a91ff427af7dbf20e7c196623b2a4eade13
[NETFILTER] ctnetlink: propagate error instaed of returning -EPERM

Propagate the error to userspace instead of returning -EPERM if the get
conntrack operation fails.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_netlink.c