]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qede: Fix concurrency issue in PTP Tx path processing.
authorsudarsana.kalluru@cavium.com <sudarsana.kalluru@cavium.com>
Tue, 2 May 2017 08:11:02 +0000 (01:11 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 19 Sep 2017 05:32:03 +0000 (22:32 -0700)
commit600c3171cc901eddb382b50e9f4ff6bc403e7f39
tree0cde4b82423fadbc0eb80a2636b8ced007fc99e3
parentebe09c9754b212ef13e13f39374d7105e0548b9b
qede: Fix concurrency issue in PTP Tx path processing.

Orabug: 26783820

PTP Tx timestamping data structures are not protected against the
concurrent access in the Tx paths. Protecting the same using atomic
bit locks.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[ Upstream commit 461eec12012c29b66525c270208d30be8f6da8e7 ]
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
drivers/net/ethernet/qlogic/qede/qede.h
drivers/net/ethernet/qlogic/qede/qede_ptp.c