aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorVakul Garg <[email protected]>2018-08-02 20:43:10 +0530
committerDavid S. Miller <[email protected]>2018-08-05 17:13:58 -0700
commitcfb4099fb4c101dad283a163c9525240ef4a1a99 (patch)
treee6c8532e6359aee59c7f30029548f08535d69812 /lib/test_overflow.c
parent5f379ef51bc967567bbddacdcdecb772d4d7c3b3 (diff)
net/tls: Mark the end in scatterlist table
Function zerocopy_from_iter() unmarks the 'end' in input sgtable while adding new entries in it. The last entry in sgtable remained unmarked. This results in KASAN error report on using apis like sg_nents(). Before returning, the function needs to mark the 'end' in the last entry it adds. Signed-off-by: Vakul Garg <[email protected]> Acked-by: Dave Watson <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions