summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2015-01-07 08:41:55 +0300
committerDavid S. Miller <davem@davemloft.net>2015-01-09 06:47:11 +0300
commitbd6d4db552ceb52fb19890a454836dcda59743ce (patch)
tree1045ebbe9ecbd7ada7d610c0b8028440761593f6 /include/linux
parentdb30485408326a6f466a843b291b23535f63eda0 (diff)
downloadlinux-bd6d4db552ceb52fb19890a454836dcda59743ce.tar.xz
rhashtable: future table needs to be traversed when remove an object
When remove an object from hash table, we currently only traverse old bucket table to check whether the object exists. If the object is not found in it, we will try again. But in the second search loop, we still search the object from the old table instead of future table. As a result, the object may be not removed from hash table especially when resizing is currently in progress and the object is just saved in the future table. Signed-off-by: Ying Xue <ying.xue@windriver.com> Cc: Thomas Graf <tgraf@suug.ch> Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions