Skip to content
Commit acf673a3 authored by David Miller's avatar David Miller Committed by David S. Miller
Browse files

6pack: Fix use after free in sixpack_close().



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

Also we need to use del_timer_sync() for the timers so that we don't
have any asynchronous references after the unregister.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6e3cd5fa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment