]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
igc: fix missing update of skb->tail in igc_xmit_frame()
authorKohei Enju <kohei@enjuk.jp>
Sat, 14 Feb 2026 19:46:32 +0000 (19:46 +0000)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 17 Mar 2026 20:28:55 +0000 (13:28 -0700)
commit0ffba246652faf4a36aedc66059c2f94e4c83ea5
treeaf303aac5f96fff775b013d845d241193e6f1c85
parent069c8f5aebe4d5224cf62acc7d4b3486091c658a
igc: fix missing update of skb->tail in igc_xmit_frame()

igc_xmit_frame() misses updating skb->tail when the packet size is
shorter than the minimum one.
Use skb_put_padto() in alignment with other Intel Ethernet drivers.

Fixes: 0507ef8a0372 ("igc: Add transmit and receive fastpath and interrupt handlers")
Signed-off-by: Kohei Enju <kohei@enjuk.jp>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Tested-by: Avigail Dahan <avigailx.dahan@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_main.c