From: Edward Cree Date: Fri, 10 Feb 2017 17:34:59 +0000 (+0000) Subject: sfc: fix swapped arguments to efx_ef10_handle_rx_event_errors X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=90d2ea9f66d3f9f96bc0f41d94b4830c0b2d0a50;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sfc: fix swapped arguments to efx_ef10_handle_rx_event_errors Fixes: a0ee35414837 ("sfc: process RX event inner checksum flags") Reported-by: Colin Ian King Signed-off-by: Edward Cree Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/sfc/ef10.c b/drivers/net/ethernet/sfc/ef10.c index 6bba2d206d82..761ccc64eee9 100644 --- a/drivers/net/ethernet/sfc/ef10.c +++ b/drivers/net/ethernet/sfc/ef10.c @@ -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;