]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
INET: inet_frag_evictor() must run with BH disabled
authorDavid S. Miller <davem@davemloft.net>
Mon, 7 Apr 2008 06:40:06 +0000 (23:40 -0700)
committerChris Wright <chrisw@sous-sol.org>
Sat, 19 Apr 2008 01:53:25 +0000 (18:53 -0700)
Part of upstream commit: e8e16b706e8406f1ab3bccab16932ebc513896d8

Based upon a lockdep trace from Dave Jones.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/ipv6/netfilter/nf_conntrack_reasm.c

index e170c67c47a5b613c7681d05d0b0f73c784e9c46..89f95f9c7a8c7d5155bdf57df158dac511204f83 100644 (file)
@@ -147,7 +147,9 @@ static __inline__ void fq_kill(struct nf_ct_frag6_queue *fq)
 
 static void nf_ct_frag6_evictor(void)
 {
+       local_bh_disable();
        inet_frag_evictor(&nf_frags);
+       local_bh_enable();
 }
 
 static void nf_ct_frag6_expire(unsigned long data)