aboutgitcodebugslistschat
path: root/netlink.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2023-09-08 11:49:50 +1000
committerStefano Brivio <sbrivio@redhat.com>2023-09-08 09:16:13 +0200
commit60d3915ea3b07ac0a02aaf73dbf3d99547ff33bc (patch)
tree476002d416b2380258aa80cfc03dd4d37a94d1b6 /netlink.c
parent5fb376de6ef29e2f21b510aec7cfefeba955e26c (diff)
downloadpasst-60d3915ea3b07ac0a02aaf73dbf3d99547ff33bc.tar
passt-60d3915ea3b07ac0a02aaf73dbf3d99547ff33bc.tar.gz
passt-60d3915ea3b07ac0a02aaf73dbf3d99547ff33bc.tar.bz2
passt-60d3915ea3b07ac0a02aaf73dbf3d99547ff33bc.tar.lz
passt-60d3915ea3b07ac0a02aaf73dbf3d99547ff33bc.tar.xz
passt-60d3915ea3b07ac0a02aaf73dbf3d99547ff33bc.tar.zst
passt-60d3915ea3b07ac0a02aaf73dbf3d99547ff33bc.zip
tcp: Return consumed packet count from tcp_data_from_tap()
Currently tcp_data_from_tap() is assumed to consume all packets remaining in the packet pool it is given. However there are some edge cases where that's not correct. In preparation for fixing those, change it to return a count of packets consumed and use that in its caller. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'netlink.c')
0 files changed, 0 insertions, 0 deletions