Thread (2 messages) flat view 2 messages, 2 authors, 2017-03-17

Re: [PATCH net] netvsc: fix race during initialization

From: David Miller <davem@davemloft.net>
Date: 2017-03-17 04:35:54

From: Stephen Hemminger <stephen@networkplumber.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 <redacted>
---
Applies to 4.11 only, not in earlier versions.
net-next needs different patch
Applied, thanks Stephen.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help