[sheepdog] [PATCH] sheep: fix clear_client crash

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon Jul 9 20:48:28 CEST 2012


At Mon,  9 Jul 2012 20:50:18 +0800,
Yunkai Zhang wrote:
> 
> From: Yunkai Zhang <qiushu.zyk at taobao.com>
> 
> We should use list_for_each_entry_safe instead of list_for_each_entry
> to loop when we need to delete node in it.
> 
> Signed-off-by: Yunkai Zhang <qiushu.zyk at taobao.com>
> ---
>  sheep/sdnet.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list