diff options
author | Eric Dumazet <edumazet@google.com> | 2012-04-24 06:17:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-25 20:39:46 -0400 |
commit | 808db80a7eeff8314ac51654bfefc864582eea13 (patch) | |
tree | 9c42d1486a5e6052d0c285a5a6a6d38fdbe0b890 /net/ipv6/reassembly.c | |
parent | 081579840b4b2421e37bc67e3b089b7ca64ef040 (diff) |
ipv6: call consume_skb() in frag/reassembly
Some kfree_skb() calls should be replaced by consume_skb() to avoid
drop_monitor/dropwatch false positives.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/reassembly.c')
-rw-r--r-- | net/ipv6/reassembly.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/reassembly.c b/net/ipv6/reassembly.c index 36e04cff1a85..54c5d2b704df 100644 --- a/net/ipv6/reassembly.c +++ b/net/ipv6/reassembly.c | |||
@@ -433,7 +433,7 @@ static int ip6_frag_reasm(struct frag_queue *fq, struct sk_buff *prev, | |||
433 | skb_morph(head, fq->q.fragments); | 433 | skb_morph(head, fq->q.fragments); |
434 | head->next = fq->q.fragments->next; | 434 | head->next = fq->q.fragments->next; |
435 | 435 | ||
436 | kfree_skb(fq->q.fragments); | 436 | consume_skb(fq->q.fragments); |
437 | fq->q.fragments = head; | 437 | fq->q.fragments = head; |
438 | } | 438 | } |
439 | 439 | ||