From: Eric Dumazet <eric.duma...@gmail.com> Date: Wed, 09 Nov 2016 16:04:46 -0800
> From: Eric Dumazet <eduma...@google.com> > > After Tom patch, thoff field could point past the end of the buffer, > this could fool some callers. > > If an skb was provided, skb->len should be the upper limit. > If not, hlen is supposed to be the upper limit. > > Fixes: a6e544b0a88b ("flow_dissector: Jump to exit code in > __skb_flow_dissect") > Signed-off-by: Eric Dumazet <eduma...@google.com> > Reported-by: Yibin Yang <yiby...@cisco.com > Acked-by: Alexander Duyck <alexander.h.du...@intel.com> > Acked-by: Willem de Bruijn <will...@google.com> > Acked-by: Alexei Starovoitov <a...@kernel.org> Applied and queued up for -stable, thanks Eric.