diff options
author | David S. Miller <davem@davemloft.net> | 2019-10-02 23:23:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-02 23:23:13 +0300 |
commit | 4fbb97bac1be4fb5a4b8030e2b247b81504fe694 (patch) | |
tree | 9e99af325a5daf37bb2e28d1f5eff9a61cd96872 /net/ipv4/ipmr.c | |
parent | db34a4714c013b644eec2de0ec81b1f0373b8b93 (diff) | |
parent | 34a4c95abd25ab41fb390b985a08a651b1fa0b0f (diff) | |
download | linux-4fbb97bac1be4fb5a4b8030e2b247b81504fe694.tar.xz |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
Pablo Neira Ayuso says:
====================
Netfilter fixes for net
The following patchset contains Netfilter fixes for net:
1) Remove the skb_ext_del from nf_reset, and renames it to a more
fitting nf_reset_ct(). Patch from Florian Westphal.
2) Fix deadlock in nft_connlimit between packet path updates and
the garbage collector.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipmr.c')
-rw-r--r-- | net/ipv4/ipmr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index 313470f6bb14..716d5472c022 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c @@ -1794,7 +1794,7 @@ static void ip_encap(struct net *net, struct sk_buff *skb, ip_send_check(iph); memset(&(IPCB(skb)->opt), 0, sizeof(IPCB(skb)->opt)); - nf_reset(skb); + nf_reset_ct(skb); } static inline int ipmr_forward_finish(struct net *net, struct sock *sk, @@ -2140,7 +2140,7 @@ int ip_mr_input(struct sk_buff *skb) mroute_sk = rcu_dereference(mrt->mroute_sk); if (mroute_sk) { - nf_reset(skb); + nf_reset_ct(skb); raw_rcv(mroute_sk, skb); return 0; } |