Set the buffer type to IGC_TX_BUFFER_TYPE_SKB for empty frame in theTested-by: Mor Bar-Gabay <morx.bar.gabay@xxxxxxxxx>
igc_init_empty_frame function. This ensures that the buffer type is
correctly identified and handled during Tx ring cleanup.
Fixes: db0b124f02ba ("igc: Enhance Qbv scheduling by using first flag bit")
Cc: stable@xxxxxxxxxxxxxxx # 6.2+
Signed-off-by: Song Yoong Siang <yoong.siang.song@xxxxxxxxx>
Acked-by: Maciej Fijalkowski <maciej.fijalkowski@xxxxxxxxx>
Reviewed-by: Simon Horman <horms@xxxxxxxxxx>
---
drivers/net/ethernet/intel/igc/igc_main.c | 1 +
1 file changed, 1 insertion(+)