[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080915.115025.69496005.davem@davemloft.net>
Date: Mon, 15 Sep 2008 11:50:25 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: bugme-daemon@...zilla.kernel.org, netdev@...r.kernel.org
Subject: Re: [Bug 11572] New: udp: unbalanced unlock bug in
udp_queue_rcv_skb with ipsec
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Mon, 15 Sep 2008 11:34:20 -0700
> udp: Fix rcv socket locking
>
> The previous patch in response to the recursive locking on IPsec
> reception is broken as it tries to drop the BH socket lock while in
> user context.
>
> This patch fixes it by shrinking the section protected by the
> socket lock to sock_queue_rcv_skb only. The only reason we added
> the lock is for the accounting which happens in that function.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied, I'll have to queue this up to -stable as well.
Thanks!
--
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