[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180805.171429.1530654951705499537.davem@davemloft.net>
Date: Sun, 05 Aug 2018 17:14:29 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vakul.garg@....com
Cc: netdev@...r.kernel.org, borisp@...lanox.com, aviadye@...lanox.com,
davejwatson@...com
Subject: Re: [PATCH net-next] net/tls: Mark the end in scatterlist table
From: Vakul Garg <vakul.garg@....com>
Date: Thu, 2 Aug 2018 20:43:10 +0530
> 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@....com>
Yes, a properly formed scatterlist table must always have it's
end marked.
Applied, thanks.
Powered by blists - more mailing lists