1
linux/net/ipv4/ipvs
Simon Horman e93615d086 ipvs: Explictly clear ip_vs_stats members
In order to align the coding styles of ip_vs_zero_stats() and
its child-function ip_vs_zero_estimator(), clear ip_vs_stats
members explicitlty rather than doing a limited memset().

This was chosen over modifying ip_vs_zero_estimator() to use
memset() as it is more robust against changes in members
in the relevant structures. memset() would be prefered if
all members of the structure were to be cleared.

Cc: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
2008-08-11 14:00:55 +02:00
..
ip_vs_app.c ipvs: Annotate init functions with __init 2008-08-11 11:46:18 +02:00
ip_vs_conn.c ipvs: Annotate init functions with __init 2008-08-11 11:46:18 +02:00
ip_vs_core.c ipvs: More reliable synchronization on connection close 2008-07-16 20:04:23 -07:00
ip_vs_ctl.c ipvs: Explictly clear ip_vs_stats members 2008-08-11 14:00:55 +02:00
ip_vs_dh.c ipvs: Initialize schedulers' struct list_head at compile time 2008-08-11 11:46:06 +02:00
ip_vs_est.c ipvs: Embed estimator object into stats object 2008-08-11 14:00:43 +02:00
ip_vs_ftp.c
ip_vs_lblc.c ipvs: Initialize schedulers' struct list_head at compile time 2008-08-11 11:46:06 +02:00
ip_vs_lblcr.c ipvs: Initialize schedulers' struct list_head at compile time 2008-08-11 11:46:06 +02:00
ip_vs_lc.c ipvs: Initialize schedulers' struct list_head at compile time 2008-08-11 11:46:06 +02:00
ip_vs_nq.c ipvs: Initialize schedulers' struct list_head at compile time 2008-08-11 11:46:06 +02:00
ip_vs_proto_ah.c
ip_vs_proto_esp.c
ip_vs_proto_tcp.c
ip_vs_proto_udp.c
ip_vs_proto.c ipvs: Annotate init functions with __init 2008-08-11 11:46:18 +02:00
ip_vs_rr.c ipvs: Initialize schedulers' struct list_head at compile time 2008-08-11 11:46:06 +02:00
ip_vs_sched.c ipvs: Use list_empty() instead of open-coding the same functionality 2008-08-11 11:45:57 +02:00
ip_vs_sed.c ipvs: Initialize schedulers' struct list_head at compile time 2008-08-11 11:46:06 +02:00
ip_vs_sh.c ipvs: Initialize schedulers' struct list_head at compile time 2008-08-11 11:46:06 +02:00
ip_vs_sync.c ipvs: Fix possible deadlock in sync code 2008-08-11 11:44:38 +02:00
ip_vs_wlc.c ipvs: Initialize schedulers' struct list_head at compile time 2008-08-11 11:46:06 +02:00
ip_vs_wrr.c ipvs: Initialize schedulers' struct list_head at compile time 2008-08-11 11:46:06 +02:00
ip_vs_xmit.c
Kconfig
Makefile