diff options
author | Yan Burman <yanb@mellanox.com> | 2013-03-07 03:46:55 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-07 15:52:04 -0500 |
commit | bfa8ab47415a87c6c93a9e54e16f2f8cc6de79af (patch) | |
tree | d529eba9c805f34b8c27f5b40e543d2f61c3cc7d /drivers/rpmsg/Kconfig | |
parent | e7dbeba85600aa2c8daf99f8f53d9ad27e88b810 (diff) | |
download | talos-obmc-linux-bfa8ab47415a87c6c93a9e54e16f2f8cc6de79af.tar.gz talos-obmc-linux-bfa8ab47415a87c6c93a9e54e16f2f8cc6de79af.zip |
net/mlx4_en: Fix race when setting the device MAC address
Remove unnecessary use of workqueue for the device MAC address setting
flow, and fix a race when setting MAC address which was introduced by
commit c07cb4b0a "net/mlx4_en: Manage hash of MAC addresses per port"
The race happened when mlx4_en_replace_mac was being executed in parallel
with a successive call to ndo_set_mac_address, e.g witn an A/B/A MAC
setting configuration test, the third set fails.
With this change we also properly report an error if set MAC fails.
Signed-off-by: Yan Burman <yanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/rpmsg/Kconfig')
0 files changed, 0 insertions, 0 deletions