Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22143
b: refs/heads/master
c: d5e9b2c
h: refs/heads/master
i:
  22141: dbed4a9
  22139: fc927f7
  22135: c8ce50f
  22127: 9e84f22
  22111: 029190a
  22079: 7df66fb
  22015: 0b2d1d1
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo authored and David S. Miller committed Mar 21, 2006
1 parent f87957b commit 6f309b1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 411447019ab583c659600b0519db5658a2444f11
refs/heads/master: d5e9b2c737ecaedae66e3dffdd0d92d2a189ec5c
12 changes: 11 additions & 1 deletion trunk/net/dccp/ackvec.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,17 @@ void dccp_ackvec_free(struct dccp_ackvec *av)
{
if (unlikely(av == NULL))
return;
WARN_ON(!list_empty(&av->dccpav_records));

if (!list_empty(&av->dccpav_records)) {
struct dccp_ackvec_record *avr, *next;

list_for_each_entry_safe(avr, next, &av->dccpav_records,
dccpavr_node) {
list_del_init(&avr->dccpavr_node);
dccp_ackvec_record_delete(avr);
}
}

kmem_cache_free(dccp_ackvec_slab, av);
}

Expand Down

0 comments on commit 6f309b1

Please sign in to comment.