[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130222.151420.1087260069127274940.davem@davemloft.net>
Date: Fri, 22 Feb 2013 15:14:20 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: davej@...hat.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, brouer@...hat.com
Subject: Re: [PATCH] net: fix possible deadlock in sum_frag_mem_limit
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 22 Feb 2013 09:43:35 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> Dave Jones reported a lockdep splat occurring in IP defrag code.
>
> commit 6d7b857d541ecd1d (net: use lib/percpu_counter API for
> fragmentation mem accounting) added a possible deadlock.
>
> Because percpu_counter_sum_positive() needs to acquire
> a lock that can be used from softirq, we need to disable BH
> in sum_frag_mem_limit()
>
> Reported-by: Dave Jones <davej@...hat.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Jesper Dangaard Brouer <brouer@...hat.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