Re: [GIT]: Networking

Ingo Molnar
2009-06-16T10:53:26Z

* David Miller <davem@davemloft.net> wrote:

> From: Ingo Molnar <mingo@elte.hu>
> Date: Tue, 16 Jun 2009 11:15:38 +0200
>
> >
> > hm, FYI, these bits caused widespread scheduling-while-atomic
> > problems on most of my test-systems:
> >
> > BUG: sleeping function called from invalid context at net/core/sock.c:1851
> > in_atomic(): 1, irqs_disabled(): 0, pid: 544, name: rcu_torture_rea
> > 1 lock held by rcu_torture_rea/544:
> > #0: (&sk->sk_timer){......}, at: [<ffffffff81060560>] run_timer_softirq+0x120/0x2e0
> > Pid: 544, comm: rcu_torture_rea Tainted: G W 2.6.30-tip #54067
> > Call Trace:
> > [<ffffffff810820c3>] ? __debug_show_held_locks+0x13/0x30
> > [<ffffffff810489e6>] __might_sleep+0xf6/0x120
> > [<ffffffff81b3921d>] lock_sock_nested+0x3d/0x120
> > [<ffffffff81c1a7d2>] x25_destroy_socket+0x22/0x180
>
> Please give this patch a try.

Started testing it - thanks David!

Ingo