summaryrefslogtreecommitdiffstats
path: root/sound/i2c
diff options
context:
space:
mode:
authorVladislav Zolotarov <vladz@broadcom.com>2010-07-21 05:59:14 +0000
committerDavid S. Miller <davem@davemloft.net>2010-07-21 11:11:55 -0700
commitd0996faeec8b3ab5bda65074c274bc67baf13501 (patch)
tree87d7e5c799e3dc2426c9f4245ebf0c0e17df7007 /sound/i2c
parenta13773a53faa28cf79982601b6fc9ddb0ca45f36 (diff)
downloadblackbird-op-linux-d0996faeec8b3ab5bda65074c274bc67baf13501.tar.gz
blackbird-op-linux-d0996faeec8b3ab5bda65074c274bc67baf13501.zip
bnx2x: Protect statistics ramrod and sequence number
Bug fix: Protect statistics ramrod sending code and a statistics counter update with a spinlock. Otherwise there was a race condition that would allow sending a statistics ramrods with the same sequence number or with sequence numbers not in a natural order, which would cause a FW assert. Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com> Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud