Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 325e819a authored by Paul Durrant's avatar Paul Durrant Committed by Kamal Mostafa
Browse files

xen-netback: Handle backend state transitions in a more robust way


commit ea732dff upstream.

When the frontend state changes netback now specifies its desired state to
a new function, set_backend_state(), which transitions through any
necessary intermediate states.
This fixes an issue observed with some old Windows frontend drivers where
they failed to transition through the Closing state and netback would not
behave correctly.

Signed-off-by: default avatarPaul Durrant <paul.durrant@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Cc: David Vrabel <david.vrabel@citrix.com>
Acked-by: default avatarIan Campbell <ian.campbell@citrix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
[ kamal: backport to 3.8 (context); prereq for
  dc62ccac "xen-netback: transition to CLOSED when removing a VIF" ]
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent a167c775
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment