Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90d2ea9f authored by Edward Cree's avatar Edward Cree Committed by David S. Miller
Browse files

sfc: fix swapped arguments to efx_ef10_handle_rx_event_errors



Fixes: a0ee3541 ("sfc: process RX event inner checksum flags")
Reported-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarEdward Cree <ecree@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dfcb7a14
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3356,8 +3356,9 @@ static int efx_ef10_handle_rx_event(struct efx_channel *channel,
	EFX_AND_QWORD(errors, *event, errors);
	if (unlikely(!EFX_QWORD_IS_ZERO(errors))) {
		flags |= efx_ef10_handle_rx_event_errors(channel, n_packets,
							 rx_encap_hdr,
							 rx_l3_class, rx_l4_class,
							 rx_encap_hdr, event);
							 event);
	} else {
		bool tcpudp = rx_l4_class == ESE_DZ_L4_CLASS_TCP ||
			      rx_l4_class == ESE_DZ_L4_CLASS_UDP;