Skip to content
Commit 557fb586 authored by Marcelo Ricardo Leitner's avatar Marcelo Ricardo Leitner Committed by David S. Miller
Browse files

sctp: fix return value check in __sctp_rcv_asconf_lookup



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>
parent 46573e3a
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