On 03/29/2018 05:20 PM, Prashant Bhole wrote: > sg_init_marker initializes sg_magic in the sg table and calls > sg_mark_end() on the last entry of the table. This can be useful to > avoid memset in sg_init_table() when scatterlist is already zeroed out > > For example: when scatterlist is embedded inside other struct and that > container struct is zeroed out > > Suggested-by: Daniel Borkmann <[email protected]> > Signed-off-by: Prashant Bhole <[email protected]> > ---
Acked-by: John Fastabend <[email protected]>
