summaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_set.c
diff options
context:
space:
mode:
authorJulian Anastasov2015-02-06 08:44:44 +0100
committerSimon Horman2015-02-09 08:59:03 +0100
commitcd67cd5eb25ae9a7bafbfd3d52d4c05e1d80af3b (patch)
tree085939ed6ccffc6da505420513519d5d4c86dfc4 /net/netfilter/xt_set.c
parentnetfilter: nft_lookup: add missing attribute validation for NFTA_LOOKUP_SET_ID (diff)
downloadkernel-qcow2-linux-cd67cd5eb25ae9a7bafbfd3d52d4c05e1d80af3b.tar.gz
kernel-qcow2-linux-cd67cd5eb25ae9a7bafbfd3d52d4c05e1d80af3b.tar.xz
kernel-qcow2-linux-cd67cd5eb25ae9a7bafbfd3d52d4c05e1d80af3b.zip
ipvs: use 64-bit rates in stats
IPVS stats are limited to 2^(32-10) conns/s and packets/s, 2^(32-5) bytes/s. It is time to use 64 bits: * Change all conn/packet kernel counters to 64-bit and update them in u64_stats_update_{begin,end} section * In kernel use struct ip_vs_kstats instead of the user-space struct ip_vs_stats_user and use new func ip_vs_export_stats_user to export it to sockopt users to preserve compatibility with 32-bit values * Rename cpu counters "ustats" to "cnt" * To netlink users provide additionally 64-bit stats: IPVS_SVC_ATTR_STATS64 and IPVS_DEST_ATTR_STATS64. Old stats remain for old binaries. * We can use ip_vs_copy_stats in ip_vs_stats_percpu_show Thanks to Chris Caputo for providing initial patch for ip_vs_est.c Signed-off-by: Chris Caputo <ccaputo@alt.net> Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter/xt_set.c')
0 files changed, 0 insertions, 0 deletions