Skip to content
Commit c7d5458d authored by Marcelo Ricardo Leitner's avatar Marcelo Ricardo Leitner Committed by Greg Kroah-Hartman
Browse files

sctp: fix return value check in __sctp_rcv_asconf_lookup



[ Upstream commit 557fb586 ]

As Ben Hutchings noticed, this check should have been inverted: the call
returns true in case of success.

Reported-by: default avatarBen Hutchings <ben@decadent.org.uk>
Fixes: 0c5dc070 ("sctp: validate from_addr_param return")
Signed-off-by: default avatarMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Reviewed-by: default avatarXin Long <lucien.xin@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fc553003
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