diff options
author | David Vrabel <david.vrabel@citrix.com> | 2011-09-30 06:37:51 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-03 14:15:46 -0400 |
commit | d0e5d83284dac15c015bb48115b6780f5a6413cd (patch) | |
tree | b2cb7b93e26845326743e9a10bfc7bb6105e106e /net | |
parent | a0db2dad0935e798973bb79676e722b82f177206 (diff) | |
download | linux-stable-d0e5d83284dac15c015bb48115b6780f5a6413cd.tar.gz linux-stable-d0e5d83284dac15c015bb48115b6780f5a6413cd.tar.bz2 linux-stable-d0e5d83284dac15c015bb48115b6780f5a6413cd.zip |
net: xen-netback: correctly restart Tx after a VM restore/migrate
If a VM is saved and restored (or migrated) the netback driver will no
longer process any Tx packets from the frontend. xenvif_up() does not
schedule the processing of any pending Tx requests from the front end
because the carrier is off. Without this initial kick the frontend
just adds Tx requests to the ring without raising an event (until the
ring is full).
This was caused by 47103041e91794acdbc6165da0ae288d844c820b (net:
xen-netback: convert to hw_features) which reordered the calls to
xenvif_up() and netif_carrier_on() in xenvif_connect().
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions