diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-05-21 11:14:50 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-05-21 11:14:50 +0200 |
commit | bd5aaaac7f48e6788999d3c291f566933dc9daa6 (patch) | |
tree | 6530df3dce22a25d376d006c97c1a5ba6279c57f /udp.h | |
parent | d303cfdd55a7fb30bedd1727216e0a3926c4a95c (diff) | |
download | passt-bd5aaaac7f48e6788999d3c291f566933dc9daa6.tar passt-bd5aaaac7f48e6788999d3c291f566933dc9daa6.tar.gz passt-bd5aaaac7f48e6788999d3c291f566933dc9daa6.tar.bz2 passt-bd5aaaac7f48e6788999d3c291f566933dc9daa6.tar.lz passt-bd5aaaac7f48e6788999d3c291f566933dc9daa6.tar.xz passt-bd5aaaac7f48e6788999d3c291f566933dc9daa6.tar.zst passt-bd5aaaac7f48e6788999d3c291f566933dc9daa6.zip |
tcp: Actually enforce MAX_CONNS limit
and, given that the connection table is indexed by socket number,
we also need to increase MAX_CONNS now as the ICMP implementation
needs 2^17 sockets, that will be opened before TCP connections are
accepted.
This needs to be changed later: the connection table should be
indexed by a translated number -- we're wasting 2^17 table entries
otherwise. Move initialisation of TCP listening sockets as last
per-protocol initialisation, this will make it easier.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'udp.h')
0 files changed, 0 insertions, 0 deletions