diff options
author | Richard Cochran <richardcochran@gmail.com> | 2015-05-25 11:55:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-25 18:21:59 -0400 |
commit | adbe088f6f8b0b7701fe07f51fe6f2bd602a6665 (patch) | |
tree | 49480fdc4359c842f64a480ead42a9531addcc2c /net | |
parent | a935865c828c8cd20501f618c69f659a5b6d6a5f (diff) | |
download | op-kernel-dev-adbe088f6f8b0b7701fe07f51fe6f2bd602a6665.zip op-kernel-dev-adbe088f6f8b0b7701fe07f51fe6f2bd602a6665.tar.gz |
net: dp83640: fix improper double spin locking.
A pair of nested spin locks was introduced in commit 63502b8d0
"dp83640: Fix receive timestamp race condition".
Unfortunately the 'flags' parameter was reused for the inner lock,
clobbering the originally saved IRQ state. This patch fixes the issue
by changing the inner lock to plain spin_lock without irqsave.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions