Skip to contentSkip to conversation

SCTP: Fix miss of report unrecognized HMAC Algorithm parameter

PATCH New Wei Yongjun 1 participant 1 message Jan 27, 2008 3 messages not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

PATCH 1/1 SCTP: Fix miss of report unrecognized HMAC Algorithm parameter

This patch fix miss of check for report unrecognized HMAC Algorithm parameter. When AUTH is disabled, goto fall through path to report unrecognized parameter, else, just break.

Quoted 11 lines

Wei

Quoted 8 lines · Neil Horman
Quoted 4 lines · Wei Yongjun

This patch fix miss of check for report unrecognized HMAC Algorithm parameter. When AUTH is disabled, goto fall through path to report unrecognized parameter, else, just break.

Quoted 8 lines
Quoted 2 lines

Neil

Can you please send this to netdev and CC Dave Miller..

-vlad

net/sctp/sm_make_chunk.c +0 -0
@@ -2014,7 +2014,7 @@ static sctp_ierror_t sctp_verify_param(c
		break;

	case SCTP_PARAM_HMAC_ALGO:
-		if (!sctp_auth_enable)
+		if (sctp_auth_enable)
			break;
		/* Fall Through */

fallthrough: