commit | 76d013b20ba9a5f88eee7c90ac82cbc3ee64be18 | [log] [tgz] |
---|---|---|
author | Martin KaFai Lau <kafai@fb.com> | Fri Dec 01 12:52:29 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Dec 03 10:18:27 2017 -0500 |
tree | 7db33c2816dda86781e70cb1da2ffebf4e81a390 | |
parent | fb7516d42478ebc8e2f00efb76ef96f7b68fd8d3 [diff] |
inet: Add a count to struct inet_listen_hashbucket This patch adds a count to the 'struct inet_listen_hashbucket'. It counts how many sk is hashed to a bucket. It will be used to decide if the (to-be-added) portaddr listener's hashtable should be used during inet[6]_lookup_listener(). Signed-off-by: Martin KaFai Lau <kafai@fb.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>