diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-08-03 17:19:50 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-08-04 01:28:22 +0200 |
commit | 8ec757d0035cdffaca4d6d01093c1f32dc7c9743 (patch) | |
tree | b92bf6d68462c2bf6162d3035c862a1cc62338cd /netlink.h | |
parent | 9d4ab98d538f88cba871fed98665aa5a04f37da2 (diff) | |
download | passt-8ec757d0035cdffaca4d6d01093c1f32dc7c9743.tar passt-8ec757d0035cdffaca4d6d01093c1f32dc7c9743.tar.gz passt-8ec757d0035cdffaca4d6d01093c1f32dc7c9743.tar.bz2 passt-8ec757d0035cdffaca4d6d01093c1f32dc7c9743.tar.lz passt-8ec757d0035cdffaca4d6d01093c1f32dc7c9743.tar.xz passt-8ec757d0035cdffaca4d6d01093c1f32dc7c9743.tar.zst passt-8ec757d0035cdffaca4d6d01093c1f32dc7c9743.zip |
netlink: Clearer reasoning about the netlink response buffer size
Currently we set NLBUFSIZ large enough for 8192 netlink headers (128kiB in
total), and reference netlink(7). However netlink(7) says nothing about
reponse buffer sizes, and the documents which do reference 8192 *bytes* not
8192 headers.
Update NLBUFSIZ to 64kiB with a more detailed rationale.
Link: https://bugs.passt.top/show_bug.cgi?id=67
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'netlink.h')
0 files changed, 0 insertions, 0 deletions