]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit276350fc4c7eb304e188352d4226adf622765273
tree63ddde69fadab5a68788b37fd6813814be191176
parentf3d26715975ecddaa65f1480dc5e684cc3927d28
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