diff options
| author | Joe Damato <joe@dama.to> | 2026-09-01 18:56:44 -0700 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-09-08 10:47:02 +0200 |
| commit | 4e17b5007b6664559cdad2b2fe270526cf786b5b (patch) | |
| tree | 37f944b3ae491236e51acca473568067209eda66 /scripts/basic | |
| parent | 8d6cd188508513503805c156165de38e4e4a8615 (diff) | |
| download | linux-4e17b5007b6664559cdad2b2fe270526cf786b5b.tar.gz linux-4e17b5007b6664559cdad2b2fe270526cf786b5b.zip | |
bnxt_en: Only restore LRO if the device supports TPA
With a P5+ device with firmware that reports max_aggs_supported == 0, it is
possible to make LRO settable by attaching and detaching an XDP program
even though the device does not support TPA.
Fix this by testing BNXT_SUPPORTS_TPA before restoring the feature bit.
Fixes: f0aa6a37a3db ("eth: bnxt: always recalculate features after XDP clearing, fix null-deref")
Reported-by: Sashiko <sashiko-bot+sashiko@kernel.org>
Link: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260828190900.1767611-1-joe%40dama.to
Cc: stable@vger.kernel.org
Signed-off-by: Joe Damato <joe@dama.to>
Link: https://patch.msgid.link/20260902015652.2421609-2-joe@dama.to
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
