Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,