summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2017-03-16 22:21:32 +0300
committerDavid S. Miller <davem@davemloft.net>2017-03-17 07:35:33 +0300
commite14b4db7a567ff507453ecd9c64da51bbc2b6d23 (patch)
tree848ad14f3144221ffdfc0e91901e11dae7dfdfc8 /net/ipv4/tcp.c
parentd12c917691b45d9dffcfe7c2362d25caa40905fd (diff)
downloadlinux-e14b4db7a567ff507453ecd9c64da51bbc2b6d23.tar.xz
netvsc: fix race during initialization
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@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions