]> git.baikalelectronics.ru Git - kernel.git/commit
net/xen-netfront: only clean up queues if present
authorChas Williams <3chas3@gmail.com>
Wed, 19 Aug 2015 23:14:20 +0000 (19:14 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Aug 2015 22:56:12 +0000 (15:56 -0700)
commit8cb724ae7ba595cc5cab3f45ee0e3795eb013f2a
tree67675aa39ba853e69550a74fe96968510cb46d2e
parent40771d1f4c80551461df769a560ea3e51dcad49c
net/xen-netfront: only clean up queues if present

If you simply load and unload the module without starting the interfaces,
the queues are never created and you get a bad pointer dereference.

Signed-off-by: Chas Williams <3chas3@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c