]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: ravb: Drop IP protocol check from RX csum verification
authorPaul Barker <paul.barker.ct@bp.renesas.com>
Tue, 15 Oct 2024 13:36:27 +0000 (14:36 +0100)
committerAndrew Lunn <andrew@lunn.ch>
Fri, 18 Oct 2024 02:24:24 +0000 (21:24 -0500)
commit8d2109c1a51525c3586c5bf6f78ab1ce3c2908f8
treee6b369b53047272f6948da45c61ef4a4e889966b
parentc4e347a02b14fa2425337473fcb120c62936cbc5
net: ravb: Drop IP protocol check from RX csum verification

We do not need to confirm that the protocol is IPv4. If the hardware
encounters an unsupported protocol, it will set the checksum value to
0xFFFF.

Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
drivers/net/ethernet/renesas/ravb_main.c