From: Willem de Bruijn <[email protected]>
Date: Sun, 30 Dec 2018 17:21:05 -0500

> From: Willem de Bruijn <[email protected]>
> 
> The BPF flow dissector expects either skb->sk or skb->dev set on
> all skbs. Delay flow dissection until after skb->dev is set.
> 
> This requires calling from within an rcu read-side critical section.
> That is fine, see also the call from tun_xdp_one.
> 
> Fixes: d0e13a1488ad ("flow_dissector: lookup netns by skb->sk if skb->dev is 
> NULL")
> Reported-by: Christian Borntraeger <[email protected]>
> Signed-off-by: Willem de Bruijn <[email protected]>

Applied and queued up for -stable.

Reply via email to