aboutgitcodebugslistschat
path: root/pcap.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2023-01-06 11:43:15 +1100
committerStefano Brivio <sbrivio@redhat.com>2023-01-23 18:54:47 +0100
commitdcea26076ded89ff66da8046b12052045a51de0f (patch)
tree688e5cc7b2bec102d3d09c7d9f3e050dbc170377 /pcap.h
parent716a926ef485602d3e5aafd93ed5893d1eca39b6 (diff)
downloadpasst-dcea26076ded89ff66da8046b12052045a51de0f.tar
passt-dcea26076ded89ff66da8046b12052045a51de0f.tar.gz
passt-dcea26076ded89ff66da8046b12052045a51de0f.tar.bz2
passt-dcea26076ded89ff66da8046b12052045a51de0f.tar.lz
passt-dcea26076ded89ff66da8046b12052045a51de0f.tar.xz
passt-dcea26076ded89ff66da8046b12052045a51de0f.tar.zst
passt-dcea26076ded89ff66da8046b12052045a51de0f.zip
tcp: Remove redundant and incorrect initialization from *_iov_init()
tcp_sock[46]_iov_init() initialize the length of each iovec buffer to MSS_DEFAULT. That will always be overwritten before use in tcp_data_to_tap, so it's redundant. It also wasn't correct, because it didn't correctly account for the header lengths in all cases. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'pcap.h')
0 files changed, 0 insertions, 0 deletions