Tag: 0edd94887d19ad73539477395c17ea0d6898947a

ipvs: use list_del_init instead of list_del/INIT_LIST_HEAD

Author: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Using list_del_init() instead of list_del() + INIT_LIST_HEAD(). spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun Acked-by: Simon Horman Signed-off-by: Pablo Neira Ayuso — net/netfilter/ipvs/ip_vs_ctl.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff –git a/net/netfilter/ipvs/ip_vs_ctl.c b/net/netfilter/ipvs/ip_vs_ctl.c index 767cc12..37b38d0 100644 — a/net/netfilter/ipvs/ip_vs_ctl.c …

Continue reading