Re: netlink & rhashtable status

2015-06-27 Thread Herbert Xu
On Fri, Jun 26, 2015 at 01:44:04PM +0300, Konstantin Khlebnikov wrote: > > I've found race in v3.18 in __netlink_lookup: rhashtable_hashfn > computes hash using one table and following rhashtable_lookup_compare > dereferences ht->tbl once again and could see different table. > > patch follows...

Re: netlink & rhashtable status

2015-06-26 Thread Konstantin Khlebnikov
On 14.05.2015 07:21, Herbert Xu wrote: On Thu, May 14, 2015 at 12:16:28PM +0800, Herbert Xu wrote: On Wed, May 13, 2015 at 09:13:38PM -0700, Eric Dumazet wrote: So it looks like we lost an skb or something OK that sounds reasonable. So my plan is to disable dynamic rehashing and then hu

Re: netlink & rhashtable status

2015-05-13 Thread David Miller
From: Eric Dumazet Date: Wed, 13 May 2015 09:18:04 -0700 > On Wed, 2015-05-13 at 06:04 -0700, Eric Dumazet wrote: >> On Wed, 2015-05-13 at 14:20 +0800, Herbert Xu wrote: >> > On Tue, May 12, 2015 at 11:15:40PM -0700, Eric Dumazet wrote: >> > > >> > > Trick is to start about 200 threads using get