From: Eric Dumazet <[email protected]> Date: Wed, 09 Nov 2016 16:04:46 -0800
> From: Eric Dumazet <[email protected]> > > 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 <[email protected]> > Reported-by: Yibin Yang <[email protected] > Acked-by: Alexander Duyck <[email protected]> > Acked-by: Willem de Bruijn <[email protected]> > Acked-by: Alexei Starovoitov <[email protected]> Applied and queued up for -stable, thanks Eric.
