Re: [PATCH net v2] net: usb: smsc75xx: reject frames without a full header and FCS

From
Joas Antonio <hidden>
Date
2026-11-11 17:49:30
Also in
linux-usb, lkml, stable
Reply to
Andrew Lunn, 2026-11-11
What is the value of FLAG_RX_ASSEMBLE in flags?
It is not set, smsc75xx_info has

        .flags = FLAG_ETHER | FLAG_SEND_ZLP | FLAG_LINK_INTR,

so usbnet counts rx_errors when smsc75xx_rx_fixup() returns 0.
Should rx_length_errors also be incremented?
Yes, I will add that to the new check in v3.

Thanks for the review,
Joas
Thread (3 messages) 3 messages, 3 authors, last reply 1d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help