summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2017-02-10 17:34:59 +0000
committerDavid S. Miller <davem@davemloft.net>2017-02-11 21:21:28 -0500
commit90d2ea9f66d3f9f96bc0f41d94b4830c0b2d0a50 (patch)
treeddf3a7d09bde990fe1ae6a8f35aa77259516f06b
parentdfcb7a14866b8c34b2d3a74ae31631e1d4e7f591 (diff)
downloadop-kernel-dev-90d2ea9f66d3f9f96bc0f41d94b4830c0b2d0a50.zip
op-kernel-dev-90d2ea9f66d3f9f96bc0f41d94b4830c0b2d0a50.tar.gz
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 <colin.king@canonical.com> Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/sfc/ef10.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/ef10.c b/drivers/net/ethernet/sfc/ef10.c
index 6bba2d2..761ccc6 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;
OpenPOWER on IntegriCloud