Re: [PATCH 1/2] mac80211: Use linked list instead of rhashtable walk for mesh tables

2019-02-13 Thread Herbert Xu
On Wed, Feb 13, 2019 at 01:16:13PM +0800, Herbert Xu wrote: > The mesh table code walks over hash tables for two purposes. First of > all it's used as part of a netlink dump process, but it is also used > for looking up entries to delete using criteria other than the hash > key. > > The second pu

[PATCH 1/2] mac80211: Use linked list instead of rhashtable walk for mesh tables

2019-02-12 Thread Herbert Xu
The mesh table code walks over hash tables for two purposes. First of all it's used as part of a netlink dump process, but it is also used for looking up entries to delete using criteria other than the hash key. The second purpose is directly contrary to the design specification of rhashtable wal