|
@@ -1794,6 +1794,9 @@ static enum sctp_disposition sctp_sf_do_dupcook_a(
|
|
GFP_ATOMIC))
|
|
GFP_ATOMIC))
|
|
goto nomem;
|
|
goto nomem;
|
|
|
|
|
|
|
|
+ if (sctp_auth_asoc_init_active_key(new_asoc, GFP_ATOMIC))
|
|
|
|
+ goto nomem;
|
|
|
|
+
|
|
/* Make sure no new addresses are being added during the
|
|
/* Make sure no new addresses are being added during the
|
|
* restart. Though this is a pretty complicated attack
|
|
* restart. Though this is a pretty complicated attack
|
|
* since you'd have to get inside the cookie.
|
|
* since you'd have to get inside the cookie.
|
|
@@ -1906,6 +1909,9 @@ static enum sctp_disposition sctp_sf_do_dupcook_b(
|
|
GFP_ATOMIC))
|
|
GFP_ATOMIC))
|
|
goto nomem;
|
|
goto nomem;
|
|
|
|
|
|
|
|
+ if (sctp_auth_asoc_init_active_key(new_asoc, GFP_ATOMIC))
|
|
|
|
+ goto nomem;
|
|
|
|
+
|
|
/* Update the content of current association. */
|
|
/* Update the content of current association. */
|
|
sctp_add_cmd_sf(commands, SCTP_CMD_UPDATE_ASSOC, SCTP_ASOC(new_asoc));
|
|
sctp_add_cmd_sf(commands, SCTP_CMD_UPDATE_ASSOC, SCTP_ASOC(new_asoc));
|
|
sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE,
|
|
sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE,
|