summaryrefslogtreecommitdiff
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-10-02 23:23:13 +0300
committerDavid S. Miller <davem@davemloft.net>2019-10-02 23:23:13 +0300
commit4fbb97bac1be4fb5a4b8030e2b247b81504fe694 (patch)
tree9e99af325a5daf37bb2e28d1f5eff9a61cd96872 /drivers/net/tun.c
parentdb34a4714c013b644eec2de0ec81b1f0373b8b93 (diff)
parent34a4c95abd25ab41fb390b985a08a651b1fa0b0f (diff)
downloadlinux-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 'drivers/net/tun.c')
-rw-r--r--drivers/net/tun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index aab0be40d443..812dc3a65efb 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -1104,7 +1104,7 @@ static netdev_tx_t tun_net_xmit(struct sk_buff *skb, struct net_device *dev)
*/
skb_orphan(skb);
- nf_reset(skb);
+ nf_reset_ct(skb);
if (ptr_ring_produce(&tfile->tx_ring, skb))
goto drop;