summaryrefslogtreecommitdiffstats
path: root/mm/gup_test.h
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2021-11-05 20:30:27 +0300
committerDavid S. Miller <davem@davemloft.net>2021-11-07 19:32:39 +0000
commite7ea51cd879c8214a824717d28a169b5f2262c02 (patch)
tree9765f08f40624ef336b98d41cc9328de2319c8c9 /mm/gup_test.h
parent8ac9dfd58b138f7e82098a4e0a0d46858b12215b (diff)
downloadlinux-stable-e7ea51cd879c8214a824717d28a169b5f2262c02.tar.gz
linux-stable-e7ea51cd879c8214a824717d28a169b5f2262c02.tar.bz2
linux-stable-e7ea51cd879c8214a824717d28a169b5f2262c02.zip
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 <khoroshilov@ispras.ru> Proposed-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/gup_test.h')
0 files changed, 0 insertions, 0 deletions