Re: [PATCH] xfrm: Fix bucket count reported to userspace

2018-11-07 Thread Steffen Klassert
On Mon, Nov 05, 2018 at 05:00:53PM +0900, Benjamin Poirier wrote: > sadhcnt is reported by `ip -s xfrm state count` as "buckets count", not the > hash mask. > > Fixes: 28d8909bc790 ("[XFRM]: Export SAD info.") > Signed-off-by: Benjamin Poirier Patch applied, thanks!

[PATCH] xfrm: Fix bucket count reported to userspace

2018-11-05 Thread Benjamin Poirier
sadhcnt is reported by `ip -s xfrm state count` as "buckets count", not the hash mask. Fixes: 28d8909bc790 ("[XFRM]: Export SAD info.") Signed-off-by: Benjamin Poirier --- net/xfrm/xfrm_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/xfrm/xfrm_state.c