commit | adbe088f6f8b0b7701fe07f51fe6f2bd602a6665 | [log] [tgz] |
---|---|---|
author | Richard Cochran <richardcochran@gmail.com> | Mon May 25 11:55:45 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon May 25 18:21:59 2015 -0400 |
tree | 49480fdc4359c842f64a480ead42a9531addcc2c | |
parent | a935865c828c8cd20501f618c69f659a5b6d6a5f [diff] |
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>