From: Simon Horman Date: Mon, 11 Aug 2008 07:19:14 +0000 (+1000) Subject: ipvs: Explictly clear ip_vs_stats members X-Git-Tag: v2.6.27-rc4~103^2~43^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e93615d0866a974afc7148172f8382e2af48c985;p=pandora-kernel.git 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 Signed-off-by: Simon Horman Signed-off-by: Sven Wegener --- Reading git-diff-tree failed