]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ethernet: cortina: No mapping is a dropped rx
authorLinus Walleij <linusw@kernel.org>
Fri, 8 May 2026 22:13:36 +0000 (00:13 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 12 May 2026 13:20:16 +0000 (15:20 +0200)
commit2cb156213093a62b80cf40b1ec71738e93491971
tree402fd96001622fd46e4077b2c6117b7615898e6d
parent93d809adc13001e9d3a3ceb8d1e60fae2fb740d6
net: ethernet: cortina: No mapping is a dropped rx

Increase stats.rx_dropped++ even if this is the first fragment
(skb == NULL) so we are doing proper accounting.

Fixes: b266bacba796 ("net: ethernet: cortina: Drop half-assembled SKB")
Link: https://sashiko.dev/#/patchset/20260505-gemini-ethernet-fix-v2-1-997c31d06079%40kernel.org
Signed-off-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260509-gemini-ethernet-fixes-v1-1-6c5d20ddc35b@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/cortina/gemini.c