Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

vmbus: re-enable channel tasklet #66

Merged
merged 1 commit into from
Jul 14, 2017
Merged

vmbus: re-enable channel tasklet #66

merged 1 commit into from
Jul 14, 2017

Conversation

dm0-
Copy link

@dm0- dm0- commented Jul 14, 2017

This problem shows up in 4.11 when netvsc driver is removed and reloaded.
The problem is that the channel is closed during module removal and the
tasklet for processing responses is disabled. When module is reloaded
the channel is reopened but the tasklet is marked as disabled.
The fix is to re-enable tasklet at the end of close which gets it back
to the initial state.

The issue is less urgent in 4.12 since network driver now uses NAPI
and not the tasklet; and other VMBUS devices are rarely unloaded/reloaded.

Fixes: dad72a1 ("vmbus: remove hv_event_tasklet_disable/enable")

Signed-off-by: Stephen Hemminger [email protected]
Signed-off-by: K. Y. Srinivasan [email protected]
Cc: [email protected]

This problem shows up in 4.11 when netvsc driver is removed and reloaded.
The problem is that the channel is closed during module removal and the
tasklet for processing responses is disabled. When module is reloaded
the channel is reopened but the tasklet is marked as disabled.
The fix is to re-enable tasklet at the end of close which gets it back
to the initial state.

The issue is less urgent in 4.12 since network driver now uses NAPI
and not the tasklet; and other VMBUS devices are rarely unloaded/reloaded.

Fixes: dad72a1 ("vmbus: remove hv_event_tasklet_disable/enable")

Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Cc: [email protected]
@dm0- dm0- merged commit 75b80c6 into coreos:v4.11.9-coreos Jul 14, 2017
@dm0- dm0- deleted the v4.11.9-coreos branch July 14, 2017 20:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants