diff options
author | liuyacan <liuyacan@corp.netease.com> | 2021-04-30 08:57:37 +0000 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2021-05-03 15:13:32 +0000 |
commit | 694046cf8eef9c8ec1313ebe8327bfebc2a11522 (patch) | |
tree | d844a9be749dfb6633918f8c8e3f46ff7e0819cf /src/vppinfra/test_macros.c | |
parent | 94b80770ffd35c20beb303bc2a6e81b2c6163ba6 (diff) |
session: lookup listener with iface address
We add interface address to the global lookup table, so we should
use it as the key when lookup listener. Otherwise, when multiple
threads listen on 0.0.0.0 (local scope disable), duplicate
listeners and sessions would be allocated but only one works.
Type: fix
Signed-off-by: liuyacan <liuyacan@corp.netease.com>
Change-Id: I86f36475c16e217c6c5293a62c4fb5c9477a191e
Diffstat (limited to 'src/vppinfra/test_macros.c')
0 files changed, 0 insertions, 0 deletions