On Thu, Apr 4, 2019 at 12:16 PM Lorenzo Bianconi <lorenzo.bianc...@redhat.com> wrote: > > When a bpf program is uploaded, the driver computes the number of > xdp tx queues resulting in the allocation of additional qsets. > Starting from commit '2ecbe4f4a027 ("net: thunderx: replace global > nicvf_rx_mode_wq work queue for all VFs to private for each of them")' > the driver runs link state polling for each VF resulting in the > following NULL pointer dereference: > > Fixes: 2ecbe4f4a027 ("net: thunderx: replace global nicvf_rx_mode_wq work > queue for all VFs to private for each of them") > Fixes: 2c632ad8bc74 ("net: thunderx: move link state polling function to VF") > Reported-by: Matteo Croce <mcr...@redhat.com> > Signed-off-by: Lorenzo Bianconi <lorenzo.bianc...@redhat.com> >
root@thunderx:~# uname -r 5.1.0-rc3+ root@thunderx:~# ip -d link show dev enP2p1s0v0 2: enP2p1s0v0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 xdp qdisc mq state UP mode DEFAULT group default qlen 1000 link/ether 1c:1b:0d:0d:52:a4 brd ff:ff:ff:ff:ff:ff promiscuity 0 addrgenmode none numtxqueues 48 numrxqueues 48 gso_max_size 65536 gso_max_segs 65535 prog/xdp id 2 tag 444c1e2fd143efc0 jited Tested-by: Matteo Croce <mcr...@redhat.com> -- Matteo Croce per aspera ad upstream