aboutgitcodebugslistschat
path: root/tcp_splice.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-02-28 22:25:09 +1100
committerStefano Brivio <sbrivio@redhat.com>2024-02-29 09:47:58 +0100
commitd0550f97cd2f38c74806c10904341584f0c0a2ad (patch)
tree782fb84ef475f7824eb0ab50696286fa4fa0c160 /tcp_splice.h
parent80f9b61b509c4a81e0f0f258b27d8eed1d24fa91 (diff)
downloadpasst-d0550f97cd2f38c74806c10904341584f0c0a2ad.tar
passt-d0550f97cd2f38c74806c10904341584f0c0a2ad.tar.gz
passt-d0550f97cd2f38c74806c10904341584f0c0a2ad.tar.bz2
passt-d0550f97cd2f38c74806c10904341584f0c0a2ad.tar.lz
passt-d0550f97cd2f38c74806c10904341584f0c0a2ad.tar.xz
passt-d0550f97cd2f38c74806c10904341584f0c0a2ad.tar.zst
passt-d0550f97cd2f38c74806c10904341584f0c0a2ad.zip
tcp_splice: Don't use flow_trace() before setting flow type
In tcp_splice_conn_from_sock() we can call flow_trace() if there's an error setting TCP_QUICKACK. However, we do so before we've set the flow type in the flow entry. That means that flow_trace() will print nonsense when it tries to print the flow type. There's no reason the setsockopt() has to happen before initialising the flow entry, so just move it after. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp_splice.h')
0 files changed, 0 insertions, 0 deletions