diff options
author | 2021-07-27 23:40:54 -0300 | |
---|---|---|
committer | 2021-07-28 09:25:18 +0100 | |
commit | 557fb5862c9272ad9b21407afe1da8acfd9b53eb (patch) | |
tree | 27223ddfafd79d8efee65ca559aac94e7d33f0b7 /net/unix/af_unix.c | |
parent | nfc: s3fwrn5: fix undefined parameter values in dev_err() (diff) | |
download | wireguard-linux-557fb5862c9272ad9b21407afe1da8acfd9b53eb.tar.xz wireguard-linux-557fb5862c9272ad9b21407afe1da8acfd9b53eb.zip |
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: Ben Hutchings <ben@decadent.org.uk>
Fixes: 0c5dc070ff3d ("sctp: validate from_addr_param return")
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Reviewed-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions