| Submitter | Pablo Neira |
|---|---|
| Date | Sept. 13, 2012, 11:01 a.m. |
| Message ID | <1347534092-3579-5-git-send-email-pablo@netfilter.org> |
| Download | mbox | patch |
| Permalink | /patch/183611/ |
| State | Accepted |
| Headers | show |
Comments
Patch
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 +++ b/net/netfilter/ipvs/ip_vs_ctl.c @@ -539,8 +539,7 @@ static int ip_vs_rs_unhash(struct ip_vs_dest *dest) * Remove it from the rs_table table. */ if (!list_empty(&dest->d_list)) { - list_del(&dest->d_list); - INIT_LIST_HEAD(&dest->d_list); + list_del_init(&dest->d_list); } return 1;