]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: fix accessing unset transport header
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 5 Jul 2022 19:15:22 +0000 (21:15 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 7 Jul 2022 02:53:21 +0000 (19:53 -0700)
commit78ac7860aea11c988fb0f98e1f4019deb5e07de6
tree4ac2e645ab27bb563211c3c87889130ea82bf477
parent5437371138efae80311de6388e53fee7edfbf28a
r8169: fix accessing unset transport header

5ba7e9256500 ("net: warn if transport header was not set") added
a check that triggers a warning in r8169, see [0].

The commit referenced in the Fixes tag refers to the change from
which the patch applies cleanly, there's nothing wrong with this
commit. It seems the actual issue (not bug, because the warning
is harmless here) was introduced with 501b41d6e97c
("r8169: use Giant Send").

[0] https://bugzilla.kernel.org/show_bug.cgi?id=216157

Fixes: 6f665e39a6c1 ("r8169: work around RTL8125 UDP hw bug")
Reported-by: Erhard F. <erhard_f@mailbox.org>
Tested-by: Erhard F. <erhard_f@mailbox.org>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/1b2c2b29-3dc0-f7b6-5694-97ec526d51a0@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c