bnxt_en: Increment checksum error counter only if NETIF_F_RXCSUM is set.
authorSatish Baddipadige <sbaddipa@broadcom.com>
Sun, 27 Dec 2015 23:19:21 +0000 (18:19 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Dec 2015 05:57:28 +0000 (00:57 -0500)
commit665e350ddbfde88c5c18142dfd7b8c64556bc964
treea48c91213f6f3cf7bace283189796fce9a51fb50
parent2731d70fa9cbb62e45743171bf979784fb36778c
bnxt_en: Increment checksum error counter only if NETIF_F_RXCSUM is set.

rx_l4_csum_error is now incremented only when offload is enabled

Signed-off-by: Satish Baddipadige <sbaddipa@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c