Re: [PATCH] i40iw: Receive netdev events post INET_NOTIFIER state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2017-03-17 at 18:30 -0500, Shiraz Saleem wrote:
> 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@xxxxxxxxxx>
> Signed-off-by: Shiraz Saleem <shiraz.saleem@xxxxxxxxx>

Thanks, applied for -rc4.

-- 
Doug Ledford <dledford@xxxxxxxxxx>
    GPG KeyID: B826A3330E572FDD
   
Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux