[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170316.213548.1576100698734340553.davem@davemloft.net>
Date: Thu, 16 Mar 2017 21:35:48 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: stephen@...workplumber.org
Cc: kys@...rosoft.com, netdev@...r.kernel.org, sthemmin@...rosoft.com
Subject: Re: [PATCH net] netvsc: fix race during initialization
From: Stephen Hemminger <stephen@...workplumber.org>
Date: Thu, 16 Mar 2017 12:21:32 -0700
> When device is being setup on boot, there is a small race where
> network device callback is registered, but the netvsc_device pointer
> is not set yet. This can cause a NULL ptr dereference if packet
> arrives during this window.
>
> Fixes: 46b4f7f5d1f7 ("netvsc: eliminate per-device outstanding send counter")
> Signed-off-by: Stephen Hemminger <sthemmin@...rosoft.com>
> ---
> Applies to 4.11 only, not in earlier versions.
> net-next needs different patch
Applied, thanks Stephen.
Powered by blists - more mailing lists