Commit 5c88f4f6 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by Greg Kroah-Hartman
Browse files

r8169: remove not needed check in rtl8169_start_xmit



[ Upstream commit bd4bdeb4 ]

In rtl_tx() the released descriptors are zero'ed by
rtl8169_unmap_tx_skb(). And in the beginning of rtl8169_start_xmit()
we check that enough descriptors are free, therefore there's no way
the DescOwn bit can be set here.

Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/6965d665-6c50-90c5-70e6-0bb335d4ea47@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Stable-dep-of: c71e3a5c ("r8169: Fix possible ring buffer corruption on fragmented Tx packets.")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 48833226
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment