diff options
author | Sebastian Hesselbarth <[email protected]> | 2013-10-02 12:57:21 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-10-02 17:11:37 -0400 |
commit | f564412c935111c583b787bcc18157377b208e2e (patch) | |
tree | 10434cbf5cd4a33773c16436f9ef418a8e530e3b /scripts/patch-kernel | |
parent | 041b4ddb84989f06ff1df0ca869b950f1ee3cb1c (diff) |
net: mv643xx_eth: fix orphaned statistics timer crash
The periodic statistics timer gets started at port _probe() time, but
is stopped on _stop() only. In a modular environment, this can cause
the timer to access already deallocated memory, if the module is unloaded
without starting the eth device. To fix this, we add the timer right
before the port is started, instead of at _probe() time.
Signed-off-by: Sebastian Hesselbarth <[email protected]>
Acked-by: Jason Cooper <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions