+8
−4
Loading
The current hlist_empty checks only test the first bucket of each hashtable, ignoring any other bucket. They should be caught by the WARN_ON for state_all, but better to make all the checks accurate. Fixes: 73d189dc ("netns xfrm: per-netns xfrm_state_bydst hash") Fixes: d320bbb3 ("netns xfrm: per-netns xfrm_state_bysrc hash") Fixes: b754a4fd ("netns xfrm: per-netns xfrm_state_byspi hash") Fixes: fe9f1d87 ("xfrm: add state hashtable keyed by seq") Signed-off-by:Sabrina Dubroca <sd@queasysnail.net> Signed-off-by:
Steffen Klassert <steffen.klassert@secunet.com>