Thread (23 messages) 23 messages, 3 authors, 10d ago

Re: [PATCH net-next v4 07/10] net: ntb_netdev: Reject short RX frames

flat view

From: Joe Damato <hidden>
Date: 2026-09-19 01:14:42
Also in: lkml

On Mon, Sep 14, 2026 at 05:48:35PM +0900, Koichiro Den wrote:
ntb_netdev passes RX frames shorter than ETH_HLEN to eth_type_trans(),
which expects a complete Ethernet header.

Reject them as length errors.

Fixes: 548c237c0a99 ("net: Add support for NTB virtual ethernet device")
Signed-off-by: Koichiro Den <redacted>
---
Changes in v4:
  - New patch. Included here to fix the existing RX length check before
    adding checks for ntb_netdev_hdr later in the series.

 drivers/net/ntb_netdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Joe Damato <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help