diff options
author | Eric Dumazet <edumazet@google.com> | 2022-10-29 18:45:18 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-01 06:14:26 +0300 |
commit | 4ecbb1c27c363686d11a241cd682a454a8454c2b (patch) | |
tree | 70527c264c8a2c1f4174f228a48f862eb81bc428 /net/ipv6/netfilter | |
parent | 511a3eda2f8d4719114ee3f2c781c37233bd171f (diff) | |
download | linux-4ecbb1c27c363686d11a241cd682a454a8454c2b.tar.xz |
net: dropreason: add SKB_DROP_REASON_DUP_FRAG
This is used to track when a duplicate segment received by various
reassembly units is dropped.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6/netfilter')
-rw-r--r-- | net/ipv6/netfilter/nf_conntrack_reasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/nf_conntrack_reasm.c b/net/ipv6/netfilter/nf_conntrack_reasm.c index 38db0064d661..d13240f13607 100644 --- a/net/ipv6/netfilter/nf_conntrack_reasm.c +++ b/net/ipv6/netfilter/nf_conntrack_reasm.c @@ -253,7 +253,7 @@ static int nf_ct_frag6_queue(struct frag_queue *fq, struct sk_buff *skb, if (err) { if (err == IPFRAG_DUP) { /* No error for duplicates, pretend they got queued. */ - kfree_skb(skb); + kfree_skb_reason(skb, SKB_DROP_REASON_DUP_FRAG); return -EINPROGRESS; } goto insert_error; |