diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-09-25 23:07:27 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-09-29 21:21:31 +0300 |
commit | 372892ec1151c895c7dec362f3246f089690cfc7 (patch) | |
tree | 103fbb03f4ffb3f114eb1784129d3bc37dc62a5c /net/netfilter/nft_reject_inet.c | |
parent | c3456026adc0b22baae75e2617f370866d98b8ce (diff) | |
download | linux-372892ec1151c895c7dec362f3246f089690cfc7.tar.xz |
ipv4: Push struct net down into nf_send_reset
This is needed so struct net can be pushed down into
ip_route_me_harder.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_reject_inet.c')
-rw-r--r-- | net/netfilter/nft_reject_inet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nft_reject_inet.c b/net/netfilter/nft_reject_inet.c index 0bc19f97e238..759ca5248a3d 100644 --- a/net/netfilter/nft_reject_inet.c +++ b/net/netfilter/nft_reject_inet.c @@ -31,7 +31,7 @@ static void nft_reject_inet_eval(const struct nft_expr *expr, pkt->hook); break; case NFT_REJECT_TCP_RST: - nf_send_reset(pkt->skb, pkt->hook); + nf_send_reset(pkt->net, pkt->skb, pkt->hook); break; case NFT_REJECT_ICMPX_UNREACH: nf_send_unreach(pkt->skb, |