[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <482084A4.5020509@pobox.com>
Date: Tue, 06 May 2008 12:17:40 -0400
From: Jeff Garzik <jgarzik@...ox.com>
To: Andy Fleming <afleming@...escale.com>
CC: netdev@...r.kernel.org
Subject: Re: [PATCH v2.6.26] gianfar: Fix a locking bug in gianfar's sysfs
code
Andy Fleming wrote:
> During sparse cleanup, found a locking bug. Some of the sysfs functions were
> acquiring a lock, and then returning in the event of an error. We rearrange
> the code so that the lock is released in error conditions, too.
>
> Signed-off-by: Andy Fleming <afleming@...escale.com>
> ---
> drivers/net/gianfar.c | 5 +++--
> drivers/net/gianfar.h | 3 +++
> drivers/net/gianfar_sysfs.c | 10 ++++++----
> 3 files changed, 12 insertions(+), 6 deletions(-)
applied
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists