| @@ -483,7 +483,8 @@ static u8 dccp_feat_is_valid_sp_val(u8 f
|  {
|       switch (feat_num) {
|       case DCCPF_CCID:
| -             return (val == DCCPC_CCID2 || val == DCCPC_CCID3);
| +             return (val == DCCPC_CCID2 || val == DCCPC_CCID3 ||
| +                        val == DCCPC_CCID4);
Whitespace :(blanks instead of tabs, not indented/intended?)


| @@ -787,9 +788,65 @@ static const struct ccid_dependency *dcc
|                       { 0, 0, 0, 0 }
|               }
|       };
| +     static const struct ccid_dependency ccid4_dependencies[2][5] = {
Since the table is the same as for ccid3, you could opt to just use the
ccid3 table to avoid copying, like:

|       switch (ccid) {
|       case DCCPC_CCID2: return ccid2_dependencies[is_local];
|       case DCCPC_CCID3: /* fall through */
| +     case DCCPC_CCID4: return ccid3_dependencies[is_local];
|       default:          return NULL;  /* other CCIDs: no specifics yet */
|       }
|  }
-
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to