aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/realtek
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2015-02-24 11:17:59 +0000
committerDavid S. Miller <davem@davemloft.net>2015-02-24 16:24:22 -0500
commit7fbb9d8415d4a51cf542e87cf3a717a9f7e6aedc (patch)
treede9e7b9db0b88366ca381c2c405d32ba75a7a454 /drivers/net/ethernet/realtek
parentaf_packet: don't pass empty blocks for PACKET_V3 (diff)
downloadlinux-dev-7fbb9d8415d4a51cf542e87cf3a717a9f7e6aedc.tar.xz
linux-dev-7fbb9d8415d4a51cf542e87cf3a717a9f7e6aedc.zip
xen-netback: release pending index before pushing Tx responses
If the pending indexes are released /after/ pushing the Tx response then a stale pending index may be used if a new Tx request is immediately pushed by the frontend. The may cause various WARNINGs or BUGs if the stale pending index is actually still in use. Fix this by releasing the pending index before pushing the Tx response. The full barrier for the pending ring update is not required since the the Tx response push already has a suitable write barrier. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Reviewed-by: Wei Liu <wei.liu2@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/realtek')
0 files changed, 0 insertions, 0 deletions