diff options
author | Mohammed Hawari <mohammed@hawari.fr> | 2022-02-24 15:19:01 +0100 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2022-08-08 14:36:32 +0000 |
commit | 8a419d5b5dd3da5d3d8597cd65ac74f191fb7da7 (patch) | |
tree | 5116dd8178f594873226dfdf5b1788185af4e334 /src/vnet/devices/af_packet/af_packet.c | |
parent | ce91af8ad27e5ddef1e1f8316129bfcaa3de9ef6 (diff) |
devices: af_packet, fix tx stall by retrying failed sendto
Change-Id: I6bed66f740b34673a4883eda1c7f7310c57e131b
Type: fix
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/devices/af_packet/af_packet.c')
-rw-r--r-- | src/vnet/devices/af_packet/af_packet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/devices/af_packet/af_packet.c b/src/vnet/devices/af_packet/af_packet.c index 83c10684c9f..ec65bf6d493 100644 --- a/src/vnet/devices/af_packet/af_packet.c +++ b/src/vnet/devices/af_packet/af_packet.c @@ -437,6 +437,7 @@ af_packet_queue_init (vlib_main_t *vm, af_packet_if_t *apif, tx_queue->next_tx_frame = 0; tx_queue->queue_id = queue_id; + tx_queue->is_tx_pending = 0; clib_spinlock_init (&tx_queue->lockp); } |