diff options
Diffstat (limited to 'net/dccp/feat.c')
-rw-r--r-- | net/dccp/feat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/dccp/feat.c b/net/dccp/feat.c index 95b6927ec653..cd845df5320d 100644 --- a/net/dccp/feat.c +++ b/net/dccp/feat.c | |||
@@ -480,8 +480,8 @@ void dccp_feat_clean(struct dccp_minisock *dmsk) | |||
480 | 480 | ||
481 | list_for_each_entry_safe(opt, next, &dmsk->dccpms_pending, | 481 | list_for_each_entry_safe(opt, next, &dmsk->dccpms_pending, |
482 | dccpop_node) { | 482 | dccpop_node) { |
483 | BUG_ON(opt->dccpop_val == NULL); | 483 | BUG_ON(opt->dccpop_val == NULL); |
484 | kfree(opt->dccpop_val); | 484 | kfree(opt->dccpop_val); |
485 | 485 | ||
486 | if (opt->dccpop_sc != NULL) { | 486 | if (opt->dccpop_sc != NULL) { |
487 | BUG_ON(opt->dccpop_sc->dccpoc_val == NULL); | 487 | BUG_ON(opt->dccpop_sc->dccpoc_val == NULL); |
@@ -489,8 +489,8 @@ void dccp_feat_clean(struct dccp_minisock *dmsk) | |||
489 | kfree(opt->dccpop_sc); | 489 | kfree(opt->dccpop_sc); |
490 | } | 490 | } |
491 | 491 | ||
492 | kfree(opt); | 492 | kfree(opt); |
493 | } | 493 | } |
494 | INIT_LIST_HEAD(&dmsk->dccpms_pending); | 494 | INIT_LIST_HEAD(&dmsk->dccpms_pending); |
495 | 495 | ||
496 | list_for_each_entry_safe(opt, next, &dmsk->dccpms_conf, dccpop_node) { | 496 | list_for_each_entry_safe(opt, next, &dmsk->dccpms_conf, dccpop_node) { |