[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120918.163055.1580882472532006729.davem@davemloft.net>
Date: Tue, 18 Sep 2012 16:30:55 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: roy.qing.li@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] xfrm: fix a rcu_read_lock() imbalance in make_blackhole
From: roy.qing.li@...il.com
Date: Tue, 18 Sep 2012 16:40:10 +0800
> From: Li RongQing <roy.qing.li@...il.com>
>
> if xfrm_policy_get_afinfo returns 0, it has already called rcu_read_unlock,
> xfrm_policy_put_afinfo should not be called again.
>
> Signed-off-by: Li RongQing <roy.qing.li@...il.com>
This bug exists in the 'net' tree too, where this lock is a read lock.
I've applied this patch and adjusted the commit log text to accomodate
to difference.
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