]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Don't use attention PTT for configuring BW
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Mon, 27 Feb 2017 09:06:33 +0000 (11:06 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 26 Jul 2017 03:46:39 +0000 (20:46 -0700)
commit4ecb09527740474b327161ea5fe4d70e3a235f14
treee43c7daac6f43ac77cba93b8cead31e87a035986
parenta8fb82b3ae17a8f31bced0045fef4fb354fc8f86
qed: Don't use attention PTT for configuring BW

Orabug: 2593305326439680

Commit 653d2ffd6405 ("qed*: Fix link indication race") introduced another
race - one of the inner functions called from the link-change flow is
explicitly using the slowpath context dedicated PTT instead of gaining
that PTT from the caller. Since this flow can now be called from
a different context as well, we're in risk of the PTT breaking.

Fixes: 653d2ffd6405 ("qed*: Fix link indication race")
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qed/qed.h
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_mcp.c