netfilter: nat: propagate errors from xfrm_me_harder()
authorPatrick McHardy <kaber@trash.net>
Fri, 5 Apr 2013 06:41:12 +0000 (06:41 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 8 Apr 2013 10:34:01 +0000 (12:34 +0200)
commitaaa795ad25e18488b026572c7ba2ca8f99ced0b7
treec3a4063079921aeca40976aa631b8dba0113507d
parent58e35d1471287c59b9749fb82f04c628c36b9994
netfilter: nat: propagate errors from xfrm_me_harder()

Propagate errors from ip_xfrm_me_harder() instead of returning EPERM in
all cases.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/iptable_nat.c
net/ipv6/netfilter/ip6table_nat.c
net/netfilter/nf_nat_core.c