Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sctp: remove unreachable code from sctp_sf_violation_chunk()
sctp_sf_violation_chunk() is not called with asoc argument equal to NULL, but if that happens it would lead to NULL pointer dereference in sctp_vtag_verify(). The patch removes code that handles NULL asoc in sctp_sf_violation_chunk(). Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Alexey Khoroshilov <[email protected]> Proposed-by: Xin Long <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information