aboutgitcodebugslistschat
path: root/icmp.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2023-08-09 11:23:42 +0200
committerStefano Brivio <sbrivio@redhat.com>2023-08-13 17:24:56 +0200
commitb2bea0047db4ffdca04ab4f8b395903dc808fe9f (patch)
treef0c93bd84841ede50cd47fa7725389d2f64f09c8 /icmp.c
parent02b30e7871410e54d1adfa7deb4943493d0a020e (diff)
downloadpasst-b2bea0047db4ffdca04ab4f8b395903dc808fe9f.tar
passt-b2bea0047db4ffdca04ab4f8b395903dc808fe9f.tar.gz
passt-b2bea0047db4ffdca04ab4f8b395903dc808fe9f.tar.bz2
passt-b2bea0047db4ffdca04ab4f8b395903dc808fe9f.tar.lz
passt-b2bea0047db4ffdca04ab4f8b395903dc808fe9f.tar.xz
passt-b2bea0047db4ffdca04ab4f8b395903dc808fe9f.tar.zst
passt-b2bea0047db4ffdca04ab4f8b395903dc808fe9f.zip
tap: fix seq->p.count limit
The number of items in pool_l4_t is defined to UIO_MAXIOV, not TAP_SEQS. TAP_SEQS is the number of the sequences. Fix the value used to compare seq->p.count with. Fixes: 37c228ada88b ("tap, tcp, udp, icmp: Cut down on some oversized buffers") Signed-off-by: Laurent Vivier <lvivier@redhat.com> [sbrivio: s/messages/sequences/ in commit message, extend initialisation of packets in pool to UIO_MAXIOV items] Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'icmp.c')
0 files changed, 0 insertions, 0 deletions