Re: net/3com/3c515: Fix timer handling, prevent leaks and crashes

2016-12-16 Thread David Miller
From: Thomas Gleixner Date: Sun, 11 Dec 2016 18:31:22 +0100 (CET) > The timer handling in this driver is broken in several ways: > > - corkscrew_open() initializes and arms a timer before requesting the > device interrupt. If the request fails the timer stays armed. > >

net/3com/3c515: Fix timer handling, prevent leaks and crashes

2016-12-11 Thread Thomas Gleixner
The timer handling in this driver is broken in several ways: - corkscrew_open() initializes and arms a timer before requesting the device interrupt. If the request fails the timer stays armed. A second call to corkscrew_open will unconditionally reinitialize the quued timer and arm it