summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core
diff options
context:
space:
mode:
authorShiraz Saleem2017-03-18 00:30:07 +0100
committerDoug Ledford2017-03-24 21:23:29 +0100
commit871a8623d3b40221ad1103aff715dfee0aa4dacf (patch)
tree1e3c93fad72ab0f836a785903c7733680fe9c8f8 /drivers/infiniband/core
parentLinux 4.11-rc3 (diff)
downloadkernel-qcow2-linux-871a8623d3b40221ad1103aff715dfee0aa4dacf.tar.gz
kernel-qcow2-linux-871a8623d3b40221ad1103aff715dfee0aa4dacf.tar.xz
kernel-qcow2-linux-871a8623d3b40221ad1103aff715dfee0aa4dacf.zip
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>
Diffstat (limited to 'drivers/infiniband/core')
0 files changed, 0 insertions, 0 deletions