|
@@ -327,10 +327,16 @@ static void dccp_feat_empty_confirm(struct dccp_minisock *dmsk,
|
|
|
}
|
|
|
|
|
|
switch (type) {
|
|
|
- case DCCPO_CHANGE_L: opt->dccpop_type = DCCPO_CONFIRM_R; break;
|
|
|
- case DCCPO_CHANGE_R: opt->dccpop_type = DCCPO_CONFIRM_L; break;
|
|
|
- default: DCCP_WARN("invalid type %d\n", type); return;
|
|
|
-
|
|
|
+ case DCCPO_CHANGE_L:
|
|
|
+ opt->dccpop_type = DCCPO_CONFIRM_R;
|
|
|
+ break;
|
|
|
+ case DCCPO_CHANGE_R:
|
|
|
+ opt->dccpop_type = DCCPO_CONFIRM_L;
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ DCCP_WARN("invalid type %d\n", type);
|
|
|
+ kfree(opt);
|
|
|
+ return;
|
|
|
}
|
|
|
opt->dccpop_feat = feature;
|
|
|
opt->dccpop_val = NULL;
|