mkiss: Fix use after free in mkiss_close().
authorDavid Miller <davem@davemloft.net>
Thu, 17 Dec 2015 21:05:49 +0000 (16:05 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Dec 2015 21:03:03 +0000 (16:03 -0500)
commitd79f16c046086f4fe0d42184a458e187464eb83e
tree0707cd45b01d5e7a910676b93babc584548d53f9
parentacf673a3187edf72068ee2f92f4dc47d66baed47
mkiss: Fix use after free in mkiss_close().

Need to do the unregister_device() after all references to the driver
private have been done.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hamradio/mkiss.c