sfc: fix swapped arguments to efx_ef10_handle_rx_event_errors
authorEdward Cree <ecree@solarflare.com>
Fri, 10 Feb 2017 17:34:59 +0000 (17:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Feb 2017 02:21:28 +0000 (21:21 -0500)
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>
drivers/net/ethernet/sfc/ef10.c

index 6bba2d206d82a7566ba3b1894b7142b00d0b2c9c..761ccc64eee980a96438d8d627344d77ccc1e14a 100644 (file)
@@ -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;