Commit d5e9b2c7 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo Committed by David S. Miller
Browse files

[DCCP] ackvec: Delete all the ack vector records in dccp_ackvec_free

Signed-off-by: default avatarArnaldo Carvalho de Melo <>
Signed-off-by: default avatarDavid S. Miller <>
parent 41144701
......@@ -159,7 +159,17 @@ void dccp_ackvec_free(struct dccp_ackvec *av)
if (unlikely(av == NULL))
if (!list_empty(&av->dccpav_records)) {
struct dccp_ackvec_record *avr, *next;
list_for_each_entry_safe(avr, next, &av->dccpav_records,
dccpavr_node) {
kmem_cache_free(dccp_ackvec_slab, av);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment