On Wednesday 22 July 2009 06:05:08 am Tom Rathborne wrote: > Hi Vitaliy, > > Hello, Tom!. Does this problem still actual for you? Can you check > > attached patch? ( do not tune off CONFIG_USER_RESOURCE) > > This patch makes sense. I have applied it to the latest Debian Lenny > kernel and will let you know what happens!
This patch fixes lockdep warning, so you can compile kernel with LOCKDEP_DEBUG. > > Thanks, > > Tom > > > diff --git a/kernel/bc/net.c b/kernel/bc/net.c > > index e1ffc63..fb0fb25 100644 > > --- a/kernel/bc/net.c > > +++ b/kernel/bc/net.c > > @@ -157,9 +157,9 @@ static void ub_sock_snd_wakeup(struct user_beancounter > > *ub) > > * act the same way as ub_tcp_snd_wakeup does. > > */ > > sock_hold(sk); > > - read_lock(&sk->sk_callback_lock); > > spin_unlock(&ub->ub_lock); > > > > + read_lock(&sk->sk_callback_lock); > > sk->sk_write_space(sk); > > read_unlock(&sk->sk_callback_lock); > > > > @@ -212,9 +212,9 @@ static void ub_tcp_snd_wakeup(struct user_beancounter > > *ub) > > * it belongs to the callback. > > */ > > sock_hold(sk); > > - read_lock(&sk->sk_callback_lock); > > spin_unlock(&ub->ub_lock); > > > > + read_lock(&sk->sk_callback_lock); > > sk->sk_write_space(sk); > > read_unlock(&sk->sk_callback_lock); > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org