On Thu, Sep 27, 2018 at 12:40 PM Eric Dumazet <eric.duma...@gmail.com> wrote: > > > > On 09/27/2018 09:34 AM, Song Liu wrote: > > Latest changes in __skb_flow_dissect() assume skb->dev has valid nd_net. > > However, this is not true for test_bpf. As a result, test_bpf.ko crashes > > the system with the following stack trace: > > > > This patch fixes tes_bpf by using init_net in the dummy dev. > > > > Fixes: d58e468b1112 ("flow_dissector: implements flow dissector BPF hook") > > Reported-by: Eric Dumazet <eduma...@google.com> > > Cc: Willem de Bruijn <will...@google.com> > > Cc: Petar Penkov <ppen...@google.com> > > Signed-off-by: Song Liu <songliubrav...@fb.com> > > --- > > Reviewed-by: Eric Dumazet <eduma...@google.com>
Acked-by: Willem de Bruijn <will...@google.com> Thanks!