commit | acf673a3187edf72068ee2f92f4dc47d66baed47 | [log] [tgz] |
---|---|---|
author | David Miller <davem@davemloft.net> | Thu Dec 17 16:05:32 2015 -0500 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 18 15:57:33 2015 -0500 |
tree | e85436a3323c793d89ab76e0b1c96e8841fa9776 | |
parent | 6e3cd5fa65318f35ec9c9f61bc5cdb55d4783cb9 [diff] |
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: David S. Miller <davem@davemloft.net>