mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 00:35:33 +00:00
dp-packet: Add index to DP_PACKET_BATCH_FOR_EACH to prevent shadowing.
Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -3297,7 +3297,7 @@ netdev_dpdk_ring_send(struct netdev *netdev, int qid,
|
||||
* the rss hash field is clear. This is because the same mbuf may be
|
||||
* modified by the consumer of the ring and return into the datapath
|
||||
* without recalculating the RSS hash. */
|
||||
DP_PACKET_BATCH_FOR_EACH (packet, batch) {
|
||||
DP_PACKET_BATCH_FOR_EACH (i, packet, batch) {
|
||||
dp_packet_mbuf_rss_flag_reset(packet);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user