Hello,
This little cleanup patch can be sent to Marcelo for 2.4.32 cleanup. It
replaces the atomic_dec with the existing inlined refcnt decrement
function in ip_vs.h and removes the comment since this comment can be
found in ip_vs.h:
--- ../linux-2.4.32-orig/net/ipv4/ipvs/ip_vs_conn.c 2005-10-27
17:20:58 +020
+++ net/ipv4/ipvs/ip_vs_conn.c 2005-11-01 11:04:31 +0100
@@ -1187,12 +1220,7 @@
ip_vs_conn_hash(ct);
}
}
-
- /*
- * Simply decrease the refcnt of the template,
- * don't restart its timer.
- */
- atomic_dec(&ct->refcnt);
+ __ip_vs_conn_put(ct);
return 0;
}
return 1;
Please consider applying,
Roberto Nibali, ratz
--
-------------------------------------------------------------
addr://Kasinostrasse 30, CH-5001 Aarau tel://++41 62 823 9355
http://www.terreactive.com fax://++41 62 823 9356
-------------------------------------------------------------
terreActive AG Wir sichern Ihren Erfolg
-------------------------------------------------------------
|