Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109851
b: refs/heads/master
c: 0ef46e2
h: refs/heads/master
i:
  109849: b04952a
  109847: e625a9c
v: v3
  • Loading branch information
Vlad Yasevich authored and David S. Miller committed Sep 18, 2008
1 parent 34ff9f8 commit e0d8d04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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: a3028b8ed1e1e9930bfa70ce4555fb7f9fad3dcc
refs/heads/master: 0ef46e285c062cbe35d60c0adbff96f530d31c86
9 changes: 7 additions & 2 deletions trunk/net/sctp/sm_make_chunk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1886,11 +1886,13 @@ static void sctp_process_ext_param(struct sctp_association *asoc,
/* if the peer reports AUTH, assume that he
* supports AUTH.
*/
asoc->peer.auth_capable = 1;
if (sctp_auth_enable)
asoc->peer.auth_capable = 1;
break;
case SCTP_CID_ASCONF:
case SCTP_CID_ASCONF_ACK:
asoc->peer.asconf_capable = 1;
if (sctp_addip_enable)
asoc->peer.asconf_capable = 1;
break;
default:
break;
Expand Down Expand Up @@ -2460,6 +2462,9 @@ static int sctp_process_param(struct sctp_association *asoc,
break;

case SCTP_PARAM_SET_PRIMARY:
if (!sctp_addip_enable)
goto fall_through;

addr_param = param.v + sizeof(sctp_addip_param_t);

af = sctp_get_af_specific(param_type2af(param.p->type));
Expand Down

0 comments on commit e0d8d04

Please sign in to comment.