Skip to content
Commit 607954b0 authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller
Browse files

rhashtable: fix rht_for_each_entry_safe() endless loop



"next" is not updated, causing an endless loop for buckets with more than
one element.

Fixes: 88d6ed15 ("rhashtable: Convert bucket iterators to take table and index")
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Acked-by: default avatarThomas Graf <tgraf@suug.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 22f6bba7
Loading
Loading
Loading
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