examples/ipsec-secgw: fix uninitialized offload variable
Checks
Commit Message
Fix uninitialized hw_reassembly offload variable.
Fixes: d8d51d4f9bf5 ("examples/ipsec-secgw: support per SA HW reassembly")
Cc: rbhansali@marvell.com
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
---
examples/ipsec-secgw/sa.c | 1 +
1 file changed, 1 insertion(+)
Comments
03/03/2023 09:20, Nithin Dabilpuram:
> Fix uninitialized hw_reassembly offload variable.
>
> Fixes: d8d51d4f9bf5 ("examples/ipsec-secgw: support per SA HW reassembly")
> Cc: rbhansali@marvell.com
>
> Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Applied, thanks.
@@ -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)