Re: [BUG: 3.13.0-rc4] inconsistent lock state

2013-12-17 Thread Knut Petersen
On 17.12.2013 19:59, Eric Dumazet wrote: On Tue, 2013-12-17 at 19:13 +0100, Knut Petersen wrote: Hi Linus / everybody! Booting openSuSE 13.1 with kernel 3.13.0-rc4 triggers the attached warning. cu, Knut Following patch should solve the issue. http://patchwork.ozlabs.org/patch/301382/

Re: [BUG: 3.13.0-rc4] inconsistent lock state

2013-12-17 Thread David Miller
From: Linus Torvalds Date: Tue, 17 Dec 2013 11:06:15 -0800 > this seems to be due to __udp4_lib_rcv() doing udp_sk_rx_dst_set(), > which takes the 'sk->sk_dst_lock' spinlock. This all happens in a > software irq context. I have a fix for this from Eric that I'll send to you today. -- To

Re: [BUG: 3.13.0-rc4] inconsistent lock state

2013-12-17 Thread Linus Torvalds
David, Eric, netdev, this seems to be due to __udp4_lib_rcv() doing udp_sk_rx_dst_set(), which takes the 'sk->sk_dst_lock' spinlock. This all happens in a software irq context. And on the other hand, inet_csk_listen_start() does sk_dst_reset(), which takes the same lock *without* bh-disable, so

Re: [BUG: 3.13.0-rc4] inconsistent lock state

2013-12-17 Thread Eric Dumazet
On Tue, 2013-12-17 at 19:13 +0100, Knut Petersen wrote: > Hi Linus / everybody! > > Booting openSuSE 13.1 with kernel 3.13.0-rc4 triggers the attached > warning. > > cu, > Knut > > Following patch should solve the issue. http://patchwork.ozlabs.org/patch/301382/ Sorry for this ... Thanks

[BUG: 3.13.0-rc4] inconsistent lock state

2013-12-17 Thread Knut Petersen
Hi Linus / everybody! Booting openSuSE 13.1 with kernel 3.13.0-rc4 triggers the attached warning. cu, Knut golem kernel: [ 25.324096] golem kernel: [ 25.326525] = golem kernel: [ 25.328009] [ INFO: inconsistent lock state ] golem kernel: [ 25.328009]

[BUG: 3.13.0-rc4] inconsistent lock state

2013-12-17 Thread Knut Petersen
Hi Linus / everybody! Booting openSuSE 13.1 with kernel 3.13.0-rc4 triggers the attached warning. cu, Knut golem kernel: [ 25.324096] golem kernel: [ 25.326525] = golem kernel: [ 25.328009] [ INFO: inconsistent lock state ] golem kernel: [ 25.328009]

Re: [BUG: 3.13.0-rc4] inconsistent lock state

2013-12-17 Thread Eric Dumazet
On Tue, 2013-12-17 at 19:13 +0100, Knut Petersen wrote: Hi Linus / everybody! Booting openSuSE 13.1 with kernel 3.13.0-rc4 triggers the attached warning. cu, Knut Following patch should solve the issue. http://patchwork.ozlabs.org/patch/301382/ Sorry for this ... Thanks -- To

Re: [BUG: 3.13.0-rc4] inconsistent lock state

2013-12-17 Thread Linus Torvalds
David, Eric, netdev, this seems to be due to __udp4_lib_rcv() doing udp_sk_rx_dst_set(), which takes the 'sk-sk_dst_lock' spinlock. This all happens in a software irq context. And on the other hand, inet_csk_listen_start() does sk_dst_reset(), which takes the same lock *without* bh-disable, so

Re: [BUG: 3.13.0-rc4] inconsistent lock state

2013-12-17 Thread David Miller
From: Linus Torvalds torva...@linux-foundation.org Date: Tue, 17 Dec 2013 11:06:15 -0800 this seems to be due to __udp4_lib_rcv() doing udp_sk_rx_dst_set(), which takes the 'sk-sk_dst_lock' spinlock. This all happens in a software irq context. I have a fix for this from Eric that I'll send

Re: [BUG: 3.13.0-rc4] inconsistent lock state

2013-12-17 Thread Knut Petersen
On 17.12.2013 19:59, Eric Dumazet wrote: On Tue, 2013-12-17 at 19:13 +0100, Knut Petersen wrote: Hi Linus / everybody! Booting openSuSE 13.1 with kernel 3.13.0-rc4 triggers the attached warning. cu, Knut Following patch should solve the issue. http://patchwork.ozlabs.org/patch/301382/