]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/netfilter/ipvs/ip_vs_ctl.c
ipvs: Embed user stats structure into kernel stats structure
authorSven Wegener <sven.wegener@stealer.net>
Mon, 8 Sep 2008 11:39:04 +0000 (13:39 +0200)
committerSimon Horman <horms@verge.net.au>
Mon, 8 Sep 2008 23:53:08 +0000 (09:53 +1000)
commite9c0ce232e7a36daae1ca08282609d7f0c57c567
tree63ddde69fadab5a68788b37fd6813814be191176
parent2206a3f5b75be5dadf11541961bd7c924857eb5d
ipvs: Embed user stats structure into kernel stats structure

Instead of duplicating the fields, integrate a user stats structure into
the kernel stats structure. This is more robust when the members are
changed, because they are now automatically kept in sync.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Reviewed-by: Julius Volz <juliusv@google.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
include/net/ip_vs.h
net/ipv4/ipvs/ip_vs_core.c
net/ipv4/ipvs/ip_vs_ctl.c
net/ipv4/ipvs/ip_vs_est.c