Skip to contentSkip to conversation

examples/ipsec-secgw: fix uninitialized offload variable

PATCH Applied Nithin Dabilpuram 2 participants 2 messages Mar 3, 2023 – Mar 12, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 examples/ipsec-secgw: fix uninitialized offload variable

Fix uninitialized hw_reassembly offload variable.

Fixes d8d51d4f9bf5 ("examples/ipsec-secgw: support per SA HW reassembly")
---
 examples/ipsec-secgw/sa.c | 1 +
 1 file changed, 1 insertion(+)
examples/ipsec-secgw/sa.c +1 -0
index d23bdd20f3..5f5d2685f6 100644
@@ -1832,6 +1832,7 @@ sa_check_offloads(uint16_t port_id, uint64_t *rx_offloads,
 
 	*rx_offloads = 0;
 	*tx_offloads = 0;
+	*hw_reassembly = 0;
 
 	ret = rte_eth_dev_info_get(port_id, &dev_info);
 	if (ret != 0)
Signature · 1 line
2.25.1