[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

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Wei Yongjun 2008-01-28 20:58:46 -08:00 коммит произвёл David S. Miller
Родитель 8cf8e5a67f
Коммит ec9dbb1c3e
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -2056,7 +2056,7 @@ static sctp_ierror_t sctp_verify_param(const struct sctp_association *asoc,
break; break;
case SCTP_PARAM_HMAC_ALGO: case SCTP_PARAM_HMAC_ALGO:
if (!sctp_auth_enable) if (sctp_auth_enable)
break; break;
/* Fall Through */ /* Fall Through */
fallthrough: fallthrough: