aboutgitcodebugslistschat
path: root/test/perf/pasta_tcp
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-08-21 14:20:03 +1000
committerStefano Brivio <sbrivio@redhat.com>2024-08-21 12:00:02 +0200
commit1d10760c9f9bdede3b9a8a13a739fd5915aa2b19 (patch)
treefb6d3f671a5e352b6d6afc40431d19fa01138328 /test/perf/pasta_tcp
parent6852bd07ccd7d155e018b8a80153bc153f7b00cc (diff)
downloadpasst-1d10760c9f9bdede3b9a8a13a739fd5915aa2b19.tar
passt-1d10760c9f9bdede3b9a8a13a739fd5915aa2b19.tar.gz
passt-1d10760c9f9bdede3b9a8a13a739fd5915aa2b19.tar.bz2
passt-1d10760c9f9bdede3b9a8a13a739fd5915aa2b19.tar.lz
passt-1d10760c9f9bdede3b9a8a13a739fd5915aa2b19.tar.xz
passt-1d10760c9f9bdede3b9a8a13a739fd5915aa2b19.tar.zst
passt-1d10760c9f9bdede3b9a8a13a739fd5915aa2b19.zip
conf: Move DNS array bounds checks into add_dns[46]
Every time we call add_dns[46] we need to first check if there's space in the c->ip[46].dns array for the new entry. We might as well make that check in add_dns[46]() itself. In fact it looks like the calls in get_dns() had an off by one error, not allowing the last entry of the array to be filled. So, that bug is also fixed by the change. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/perf/pasta_tcp')
0 files changed, 0 insertions, 0 deletions