linux/net/tls
Vakul Garg cfb4099fb4 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 <vakul.garg@nxp.com>
Acked-by: Dave Watson <davejwatson@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-08-05 17:13:58 -07:00
..
Kconfig net/tls: Add generic NIC offload infrastructure 2018-05-01 09:42:47 -04:00
Makefile net/tls: Add generic NIC offload infrastructure 2018-05-01 09:42:47 -04:00
tls_device.c net/tls: Use kmemdup to simplify the code 2018-08-01 09:47:47 -07:00
tls_device_fallback.c tls: Add rx inline crypto offload 2018-07-16 00:13:11 -07:00
tls_main.c tls: Add rx inline crypto offload 2018-07-16 00:13:11 -07:00
tls_sw.c net/tls: Mark the end in scatterlist table 2018-08-05 17:13:58 -07:00