Mustafa Ismail 1c9043ae06 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/20220425181703.1634-4-shiraz.saleem@intel.com
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2022-05-02 11:10:33 -03:00
..
2022-05-02 11:10:33 -03:00
2022-02-08 12:54:47 -04:00
2022-02-28 12:07:40 -04:00
2021-06-02 19:55:19 -03:00
2021-06-02 19:55:19 -03:00
2021-06-02 19:55:18 -03:00
2022-02-23 15:24:18 -04:00
2022-02-23 15:24:18 -04:00
2022-02-23 15:24:18 -04:00