From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Ledford Subject: Re: [PATCH] i40iw: Receive netdev events post INET_NOTIFIER state Date: Fri, 24 Mar 2017 16:27:18 -0400 Message-ID: <1490387238.2404.22.camel@redhat.com> References: <20170317233007.16768-1-shiraz.saleem@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20170317233007.16768-1-shiraz.saleem-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Shiraz Saleem Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, e1000-rdma-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, sassmann-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org List-Id: linux-rdma@vger.kernel.org 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 > Signed-off-by: Shiraz Saleem Thanks, applied for -rc4. -- Doug Ledford     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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html