linux_dsm_epyc7002/drivers/infiniband/hw/i40iw
Shiraz Saleem 871a8623d3 i40iw: Receive netdev events post INET_NOTIFIER state
Netdev notification events are de-registered only when all
client iwdev instances are removed. If a single client is closed
and re-opened, netdev events could arrive even before the Control
Queue-Pair (CQP) is created, causing a NULL pointer dereference crash
in i40iw_get_cqp_request. Fix this by allowing netdev event
notification only after we have reached the INET_NOTIFIER state with
respect to device initialization.

Reported-by: Stefan Assmann <sassmann@redhat.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-03-24 16:23:29 -04:00
..
i40iw_cm.c
i40iw_cm.h
i40iw_ctrl.c i40iw: Set maj_err and min_err in i40iw_sc_cqp_create 2017-01-24 16:20:37 -05:00
i40iw_d.h
i40iw_hmc.c
i40iw_hmc.h
i40iw_hw.c
i40iw_main.c
i40iw_osdep.h
i40iw_p.h
i40iw_pble.c
i40iw_pble.h
i40iw_puda.c
i40iw_puda.h
i40iw_register.h
i40iw_status.h
i40iw_type.h
i40iw_ucontext.h
i40iw_uk.c RDMA/i40iw: use designated initializers 2017-01-12 11:38:41 -05:00
i40iw_user.h
i40iw_utils.c i40iw: Receive netdev events post INET_NOTIFIER state 2017-03-24 16:23:29 -04:00
i40iw_verbs.c This is a tree wide change and has been kept separate for that reason. 2017-02-25 13:45:43 -08:00
i40iw_verbs.h
i40iw_vf.c
i40iw_vf.h
i40iw_virtchnl.c
i40iw_virtchnl.h
i40iw.h
Kconfig
Makefile