aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorMustafa Ismail <[email protected]>2022-04-25 13:17:03 -0500
committerJason Gunthorpe <[email protected]>2022-05-02 11:10:33 -0300
commit1c9043ae0667a43bd87beeebbdd4bed674713629 (patch)
tree2d6d661faa453a694ed316e7a957ce10504fa3b2 /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parent2df6d895907b2f5dfbc558cbff7801bba82cb3cc (diff)
RDMA/irdma: Fix possible crash due to NULL netdev in notifier
For some net events in irdma_net_event notifier, the netdev can be NULL which will cause a crash in rdma_vlan_dev_real_dev. Fix this by moving all processing to the NETEVENT_NEIGH_UPDATE case where the netdev is guaranteed to not be NULL. Fixes: 6702bc147448 ("RDMA/irdma: Fix netdev notifications for vlan's") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mustafa Ismail <[email protected]> Signed-off-by: Shiraz Saleem <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions