[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110917.004808.171529275837110784.davem@davemloft.net>
Date: Sat, 17 Sep 2011 00:48:08 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: rmody@...cade.com
Cc: netdev@...r.kernel.org, adapter_linux_open_src_team@...cade.com,
gkaraje@...cade.com
Subject: Re: [net-next 1/3] bna: Semaphore Lock Fix
From: Rasesh Mody <rmody@...cade.com>
Date: Fri, 16 Sep 2011 18:06:46 -0700
> Remove a BUG_ON() as it is not required.
>
> Change the unconditional write to release a semaphore to read sem first
> and then write. This will eliminate the possibility of sem getting locked
> while trying to release it in case if previous sem_get operation failed.
>
> Signed-off-by: Gurunatha Karaje <gkaraje@...cade.com>
> Signed-off-by: Rasesh Mody <rmody@...cade.com>
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