# Re: \[PATCH RFC 1/2\] rhashtable: accept GFP flags in rhashtable\_walk\_init

- From: Johannes Berg \<johannes@sipsolutions.net\>
- Date: 2016-03-01 13:54:20 
- List: netdev
- Page: https://ratatoskr.run/netdev/2016/03/11011537
- Thread: https://ratatoskr.run/linux-wireless/2016/02/11011386/t.md

```text
On Sun, 2016-02-28 at 20:06 -0500, Bob Copeland wrote:
> In certain cases, the 802.11 mesh pathtable code wants to
> iterate over all of the entries in the forwarding table from
> the receive path, which is inside an RCU read-side critical
> section.  Enable walks inside atomic sections by allowing
> GFP_ATOMIC allocations for the walker state.
> 
> Change all existing callsites to pass in GFP_KERNEL.

Both look fine to me.

I see you have more patches for mesh, so this probably can't go through
net-next tree directly.

johannes
```
