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)
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

Simple merge