Commit 02644a17 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

sctp: fix bogus if statement in sctp_auth_recv_cid()



There is an extra semi-colon here, so we always return 0 instead of
calling __sctp_auth_cid().
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6932f119
......@@ -695,7 +695,7 @@ int sctp_auth_recv_cid(sctp_cid_t chunk, const struct sctp_association *asoc)
return 0;
net = sock_net(asoc->base.sk);
if (!net->sctp.auth_enable);
if (!net->sctp.auth_enable)
return 0;
return __sctp_auth_cid(chunk,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment