]> Git Repo - linux.git/commit
sctp: fix return value check in __sctp_rcv_asconf_lookup
authorMarcelo Ricardo Leitner <[email protected]>
Wed, 28 Jul 2021 02:40:54 +0000 (23:40 -0300)
committerDavid S. Miller <[email protected]>
Wed, 28 Jul 2021 08:25:18 +0000 (09:25 +0100)
commit557fb5862c9272ad9b21407afe1da8acfd9b53eb
tree27223ddfafd79d8efee65ca559aac94e7d33f0b7
parent46573e3ab08fb041d5ba7bf7bf3215a1e724c78c
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 <[email protected]>
Fixes: 0c5dc070ff3d ("sctp: validate from_addr_param return")
Signed-off-by: Marcelo Ricardo Leitner <[email protected]>
Reviewed-by: Xin Long <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sctp/input.c
This page took 0.044771 seconds and 4 git commands to generate.