From: Daniel Borkmann <dan...@iogearbox.net> Date: Mon, 23 Jul 2018 22:37:54 +0200
> Current sg coalescing logic in sk_alloc_sg() (latter is used by tls and > sockmap) is not quite correct in that we do fetch the previous sg entry, > however the subsequent check whether the refilled page frag from the > socket is still the same as from the last entry with prior offset and > length matching the start of the current buffer is comparing always the > first sg list entry instead of the prior one. > > Fixes: 3c4d7559159b ("tls: kernel TLS support") > Signed-off-by: Daniel Borkmann <dan...@iogearbox.net> > Acked-by: Dave Watson <davejwat...@fb.com> Applied and queued up for -stable, thanks Daniel.