summaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm/kvm-s390.c
diff options
context:
space:
mode:
authorVladislav Zolotarov <vladz@broadcom.com>2010-02-28 01:12:02 +0100
committerDavid S. Miller <davem@davemloft.net>2010-03-01 03:37:12 +0100
commitc16cc0b464b8876cfd57ce1c1dbcb6f9a6a0bce3 (patch)
tree8f70b0b1a48a5e9e2ad44d7d446936a75a936215 /arch/s390/kvm/kvm-s390.c
parentscm: Only support SCM_RIGHTS on unix domain sockets. (diff)
downloadlinux-c16cc0b464b8876cfd57ce1c1dbcb6f9a6a0bce3.tar.xz
linux-c16cc0b464b8876cfd57ce1c1dbcb6f9a6a0bce3.zip
bnx2x: Tx barriers and locks
[Resending with the proper subject. Sorry for the mess. ] This patch is based on the RFC of Stanislaw Gruszka. More specifically it fixes two possible races: - One, described by Stanislaw, may lead to permanent disabling of the Tx queue. This is fixed by adding the smp_wmb() to propagate the BD consumer change towards the memory. - Second may lead to bnx2x_start_xmit() returning NETDEV_TX_BUSY. This is fixed by taking a tx_lock() before rechecking the number of available Tx BDs. thanks, vlad Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/s390/kvm/kvm-s390.c')
0 files changed, 0 insertions, 0 deletions