]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 May 2017 19:33:01 +0000 (15:33 -0400)
commit6339e09284234f016faec61801ad14b7e94c2355
treecd756e3606697f1273655dd4593cab51df768458
parentdba1c22d0c896816e28f42521af8999c1a331988
qede: Fix concurrency issue in PTP Tx path processing.

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>
drivers/net/ethernet/qlogic/qede/qede.h
drivers/net/ethernet/qlogic/qede/qede_ptp.c