aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2013-02-22 07:43:35 +0000
committerDavid S. Miller <[email protected]>2013-02-22 15:10:19 -0500
commit4cfb04854d053e4d6391d7f84495f48082342362 (patch)
treec95cf3b428f797e0ee75defbe31dfabf6c6957bb /lib/cpu-notifier-error-inject.c
parente2f8d555ec04a0beb965ea76e3a150993e8f0436 (diff)
net: fix possible deadlock in sum_frag_mem_limit
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 <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Cc: Jesper Dangaard Brouer <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions