diff options
author | Juergen Gross <[email protected]> | 2018-09-07 14:21:30 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-09-07 23:03:16 -0700 |
commit | 8edfe2e992b75aee3da9316e9697c531194c2f53 (patch) | |
tree | 88181129adcf862a3aeb5f2d5d1e5b4770083fbc /lib/mpi/mpi-bit.c | |
parent | f74dd480cf4e31e12971c58a1d832044db945670 (diff) |
xen/netfront: fix waiting for xenbus state change
Commit 822fb18a82aba ("xen-netfront: wait xenbus state change when load
module manually") added a new wait queue to wait on for a state change
when the module is loaded manually. Unfortunately there is no wakeup
anywhere to stop that waiting.
Instead of introducing a new wait queue rename the existing
module_unload_q to module_wq and use it for both purposes (loading and
unloading).
As any state change of the backend might be intended to stop waiting
do the wake_up_all() in any case when netback_changed() is called.
Fixes: 822fb18a82aba ("xen-netfront: wait xenbus state change when load module manually")
Cc: <[email protected]> #4.18
Signed-off-by: Juergen Gross <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions