diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-06-06 20:09:41 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-06-07 20:44:44 +0200 |
commit | d2afb4b6254ceb3d5a86c24eede93d186b927a29 (patch) | |
tree | 695de097a4e887202e33de1c9eff72990bbe96f7 /passt.c | |
parent | b3aeb004eae0d168815d8ced8b3888e83e644cde (diff) | |
download | passt-d2afb4b6254ceb3d5a86c24eede93d186b927a29.tar passt-d2afb4b6254ceb3d5a86c24eede93d186b927a29.tar.gz passt-d2afb4b6254ceb3d5a86c24eede93d186b927a29.tar.bz2 passt-d2afb4b6254ceb3d5a86c24eede93d186b927a29.tar.lz passt-d2afb4b6254ceb3d5a86c24eede93d186b927a29.tar.xz passt-d2afb4b6254ceb3d5a86c24eede93d186b927a29.tar.zst passt-d2afb4b6254ceb3d5a86c24eede93d186b927a29.zip |
tcp: Make pointer const in tcp_revert_seq
The th pointer could be const, which causes a cppcheck warning on at least
some cppcheck versions (e.g. Cppcheck 2.13.0 in Fedora 40).
Fixes: e84a01e94c9f ("tcp: move seq_to_tap update to when frame is queued")
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.c')
0 files changed, 0 insertions, 0 deletions