From: "Kadosh, MoriyaX" <moriyax.kadosh@intel.com>
To: Eric Dumazet <edumazet@kernel.org>, Paul Moses <p@1g4.org>
Cc: <anthony.l.nguyen@intel.com>, <przemyslaw.kitszel@intel.com>,
<intel-wired-lan@lists.osuosl.org>, <netdev@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <andrew+netdev@lunn.ch>,
<davem@davemloft.net>, <kuba@kernel.org>, <pabeni@redhat.com>,
<aleksandr.loktionov@intel.com>, <chwee.lin.choong@intel.com>,
<faizal.abdul.rahim@linux.intel.com>, <horms@kernel.org>,
<vinicius.gomes@intel.com>, <sasha.neftin@intel.com>,
<matthew.vick@intel.com>, <aduyck@mirantis.com>
Subject: Re: [PATCH net 2/3] igc: prepare TSO and checksum offloads before TX timestamps
Date: Sat, 28 Nov 2026 22:58:10 +0200 [thread overview]
Message-ID: <3775ba94-72a0-482d-a8b5-d281364d9c98@intel.com> (raw)
In-Reply-To: <CAL4WiioPvWBTb7uq2ny=AApqoDst6fFr6pVYDjw+LfP9UB9q2Q@mail.gmail.com>
On 27/10/2026 8:42, Eric Dumazet wrote:
> Le lun. 26 oct. 2026 à 10:16, Paul Moses <p@1g4.org> a écrit :
>>
>> igc_request_tx_tstamp() takes an extra skb reference before transmit
>> preparation. For GSO packets, igc_tso() calls skb_cow_head(), which can
>> reach pskb_expand_head() with a shared skb when the header is cloned.
>> Commit c7d8bc3dd511 ("net: skbuff: don't BUG() on bad arguments to
>> pskb_expand_head()") replaced the BUG_ON() with -EINVAL, causing TSO
>> preparation to fail and the packet to be dropped.
>>
>> For non-GSO packets with CHECKSUM_PARTIAL, igc_tx_csum() falls back to
>> skb_checksum_help() for unsupported checksum offsets. This can also
>> reach pskb_expand_head() through skb_ensure_writable(). igc_tx_csum()
>> ignores the error, allowing transmission to continue without completing
>> the checksum.
>>
>> Move TSO and checksum preparation before TX timestamp reservation so
>> the extra skb reference cannot interfere with either operation.
>>
>> Fixes: 2c344ae24501 ("igc: Add support for TX timestamping")
>> Fixes: f38b782dccab ("igc: Add support for TSO")
>> Signed-off-by: Paul Moses <p@1g4.org>
>> ---
>
> Reviewed-by: Eric Dumazet <edumazet@kernel.org>
Tested-by: Moriya Kadosh <moriyax.kadosh@intel.com>
next prev parent reply other threads:[~2026-11-28 20:58 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-26 9:16 [PATCH net 1/3] igc: pad preemptible packets before reserving TX timestamps Paul Moses
2026-10-26 9:16 ` [PATCH net 2/3] igc: prepare TSO and checksum offloads before " Paul Moses
2026-10-27 6:42 ` Eric Dumazet
2026-11-28 20:58 ` Kadosh, MoriyaX [this message]
2026-10-27 12:17 ` netdev-bot+sashiko
2026-10-26 9:16 ` [PATCH net 3/3] igb: " Paul Moses
2026-10-27 6:43 ` Eric Dumazet
2026-10-27 12:17 ` netdev-bot+sashiko
2026-10-27 16:04 ` Paul Moses
2026-10-26 9:20 ` [PATCH net 1/3] igc: pad preemptible packets before reserving " netdev-bot+sinfo
2026-10-26 9:40 ` Paul Moses
2026-10-27 6:41 ` Eric Dumazet
2026-11-28 20:59 ` Kadosh, MoriyaX
2026-10-27 12:17 ` netdev-bot+sashiko
2026-10-27 16:13 ` Paul Moses
2026-10-27 20:44 ` Jacob Keller
2026-10-28 15:31 ` Maciej Fijalkowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3775ba94-72a0-482d-a8b5-d281364d9c98@intel.com \
--to=moriyax.kadosh@intel.com \
--cc=aduyck@mirantis.com \
--cc=aleksandr.loktionov@intel.com \
--cc=andrew+netdev@lunn.ch \
--cc=anthony.l.nguyen@intel.com \
--cc=chwee.lin.choong@intel.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=faizal.abdul.rahim@linux.intel.com \
--cc=horms@kernel.org \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew.vick@intel.com \
--cc=netdev@vger.kernel.org \
--cc=p@1g4.org \
--cc=pabeni@redhat.com \
--cc=przemyslaw.kitszel@intel.com \
--cc=sasha.neftin@intel.com \
--cc=vinicius.gomes@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox