OSDN Git Service

ipvs: correctly print the memory size of ip_vs_conn_tab
authorPengcheng Yang <yangpc@wangsu.com>
Tue, 12 Apr 2022 11:05:45 +0000 (19:05 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 19 Apr 2022 09:04:06 +0000 (11:04 +0200)
commiteba1a872cb73314280d5448d934935b23e30b7ca
treedaa5ff498e9e1ba5ddc837ff25badc84373c127b
parent4cf35a2b627a020fe1a6b6fc7a6a12394644e474
ipvs: correctly print the memory size of ip_vs_conn_tab

The memory size of ip_vs_conn_tab changed after we use hlist
instead of list.

Fixes: 731109e78415 ("ipvs: use hlist instead of list")
Signed-off-by: Pengcheng Yang <yangpc@wangsu.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipvs/ip_vs_conn.c