Re: [PATCH net-next] inet: add bound ports statistic

2018-05-03 Thread David Miller
From: Stephen Hemminger Date: Wed, 2 May 2018 15:11:08 -0700 > +int inet_bind_bucket_count(struct proto *prot); ... > +/* Count how many any entries are in the bind hash table */ > +unsigned int inet_bind_bucket_count(struct proto *prot) If it doesn't build, it

Re: [PATCH net-next] inet: add bound ports statistic

2018-05-03 Thread kbuild test robot
Hi Stephen, I love your patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Stephen-Hemminger/inet-add-bound-ports-statistic/20180503-182729 config: i386-randconfig-x000-201817 (attached as .config) compiler: gcc-7

[PATCH net-next] inet: add bound ports statistic

2018-05-02 Thread Stephen Hemminger
This adds a number of bound ports which fixes socket summary command. The ss -s has been broken since changes to slab info and this is one way to recover the missing value by adding a field onto /proc/net/sockstat. Since this is an informational value only, there is no need for locking.