summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2015-10-15 08:21:55 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-15 06:03:06 -0700
commit53ca376eec4eb635e2249c8e89093f499e180731 (patch)
tree0c1e0f86f002f0f332bea9e4532804f98a673c8b /arch
parentdde4b5ae65de659b9ec64bafdde0430459fcb495 (diff)
downloadlinux-53ca376eec4eb635e2249c8e89093f499e180731.tar.gz
linux-53ca376eec4eb635e2249c8e89093f499e180731.tar.bz2
linux-53ca376eec4eb635e2249c8e89093f499e180731.zip
mlxsw: core: Fix race condition in __mlxsw_emad_transmit
Under certain conditions EMAD responses can be returned from the device even before setting trans_active. This will cause the EMAD Rx listener to drop the EMAD response - as there are no active transactions - and timeouts will be generated. Fix this by setting trans_active before transmitting the EMAD skb. Fixes: 4ec14b7634b2 ("mlxsw: Add interface to access registers and process events") Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions