diff options
author | Eric Dumazet <edumazet@google.com> | 2015-05-20 20:59:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-22 01:55:32 +0300 |
commit | f5af1f57a2914e290de40e2c93716da8885c4965 (patch) | |
tree | 049b30e53d7306127d6afc0752596f23c366840c /net/switchdev/switchdev.c | |
parent | ce5ec440994b7b2b714633b516b9e0a4f6a98dfe (diff) | |
download | linux-f5af1f57a2914e290de40e2c93716da8885c4965.tar.xz |
inet_hashinfo: remove bsocket counter
We no longer need bsocket atomic counter, as inet_csk_get_port()
calls bind_conflict() regardless of its value, after commit
2b05ad33e1e624e ("tcp: bind() fix autoselection to share ports")
This patch removes overhead of maintaining this counter and
double inet_csk_get_port() calls under pressure.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Marcelo Ricardo Leitner <mleitner@redhat.com>
Cc: Flavio Leitner <fbl@redhat.com>
Acked-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions