2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-07 21:24:00 +08:00
linux-next/drivers/staging/unisys
Tim Sell 9c70ee32ff staging: unisys: visornic: prevent hang doing 'modprobe -r visornic'
A stray+extraneous 'netif_napi_add()' that we were doing in
visornic_probe() was causing havoc when we got into visornic_remove(),
called during 'modprobe -r visornic'. The symptom was a processor busy-wait
loop on the modprobe process, which '/proc/<pid>/stack' would show looping
doing napi things.

Presumably the stray line got there as a result of some merging snafoo, and
has been deleted to fix the problem. With this patch 'modprobe -r visornic'
and a subsequent 'modprobe visornic' both complete successfully, and result
in an operational network.

Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-02-02 13:10:49 +01:00
..
Documentation staging: unisys: visorbus: remove unused chipsetready information 2016-04-28 22:10:27 -07:00
include staging: unisys: fix checkpatch block comments warning 2017-01-10 17:29:47 +01:00
visorbus staging: unisys: visorbus: Consolidate kobject functions 2017-02-02 13:10:48 +01:00
visorhba staging: unisys: visorhba: Remove unused MAX_BUF define 2017-01-03 15:17:02 +01:00
visorinput staging: unisys: visorinput: Add default conditions to case statements 2016-11-07 10:56:39 +01:00
visornic staging: unisys: visornic: prevent hang doing 'modprobe -r visornic' 2017-02-02 13:10:49 +01:00
Kconfig staging: unisys: visorhid: rename to visorinput 2015-10-04 09:53:34 +01:00
MAINTAINERS staging: unisys: Documentation: Remove proc-entries.txt 2016-04-28 22:09:37 -07:00
Makefile staging: unisys: visorhid: rename to visorinput 2015-10-04 09:53:34 +01:00
TODO staging: unisys: documentation and TODO tweaks 2015-09-12 18:24:43 -07:00