Re: [PATCH v2 2/2] examples/l3fwd: fix read beyond array boundaries in ACL mode

2024-10-11 Thread Stephen Hemminger
On Tue, 30 Jul 2024 13:22:35 +0100 Konstantin Ananyev wrote: > From: Konstantin Ananyev > > With commit: ACL mode now can use send_packets_multi(). > What I missed with that changes: send_packets_multi() can't deal > properly with input dst_port[i] == BAD_PORT (though it can set > it itself), a

Re: [PATCH v2 2/2] examples/l3fwd: fix read beyond array boundaries in ACL mode

2024-10-09 Thread Stephen Hemminger
On Tue, 30 Jul 2024 13:22:35 +0100 Konstantin Ananyev wrote: > From: Konstantin Ananyev > > With commit: ACL mode now can use send_packets_multi(). > What I missed with that changes: send_packets_multi() can't deal > properly with input dst_port[i] == BAD_PORT (though it can set > it itself), a

[PATCH v2 2/2] examples/l3fwd: fix read beyond array boundaries in ACL mode

2024-07-30 Thread Konstantin Ananyev
From: Konstantin Ananyev With commit: ACL mode now can use send_packets_multi(). What I missed with that changes: send_packets_multi() can't deal properly with input dst_port[i] == BAD_PORT (though it can set it itself), as it uses dst_port[i] values to read L2 addresses for the port and assumes