summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2017-02-10 20:34:59 +0300
committerDavid S. Miller <davem@davemloft.net>2017-02-12 05:21:28 +0300
commit90d2ea9f66d3f9f96bc0f41d94b4830c0b2d0a50 (patch)
treeddf3a7d09bde990fe1ae6a8f35aa77259516f06b /drivers/net/ethernet/sfc
parentdfcb7a14866b8c34b2d3a74ae31631e1d4e7f591 (diff)
downloadlinux-90d2ea9f66d3f9f96bc0f41d94b4830c0b2d0a50.tar.xz
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>
Diffstat (limited to 'drivers/net/ethernet/sfc')
-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 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;