Re: [PATCH] net/sctp: terminate rhashtable walk correctly

2016-07-25 Thread David Miller
From: Vegard Nossum Date: Sat, 23 Jul 2016 09:42:35 +0200 > I was seeing a lot of these: ... > Apparently we always need to call rhashtable_walk_stop(), even when > rhashtable_walk_start() fails: > > * rhashtable_walk_start - Start a hash table walk > * @iter:

Re: [PATCH] net/sctp: terminate rhashtable walk correctly

2016-07-23 Thread Marcelo Ricardo Leitner
On Sat, Jul 23, 2016 at 09:42:35AM +0200, Vegard Nossum wrote: > I was seeing a lot of these: > > BUG: sleeping function called from invalid context at mm/slab.h:388 > in_atomic(): 0, irqs_disabled(): 0, pid: 14971, name: trinity-c2 > Preemption disabled at:[] >

[PATCH] net/sctp: terminate rhashtable walk correctly

2016-07-23 Thread Vegard Nossum
I was seeing a lot of these: BUG: sleeping function called from invalid context at mm/slab.h:388 in_atomic(): 0, irqs_disabled(): 0, pid: 14971, name: trinity-c2 Preemption disabled at:[] rhashtable_walk_start+0x46/0x150 [] preempt_count_add+0x1fb/0x280 []