Skip to content
Snippets Groups Projects
Commit 8f6fd83c authored by Bob Copeland's avatar Bob Copeland Committed by Johannes Berg
Browse files

rhashtable: accept GFP flags in rhashtable_walk_init


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.

Acked-by: default avatarThomas Graf <tgraf@suug.ch>
Signed-off-by: default avatarBob Copeland <me@bobcopeland.com>
[also adjust gfs2/glock.c and rhashtable tests]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 947c2a0e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment