diff options
author | Amit Kumar Salecha <amit.salecha@qlogic.com> | 2010-08-31 17:17:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-01 10:41:58 -0700 |
commit | d807b3f728518d218fb2fe54c1227bc6d6f93efd (patch) | |
tree | 551b6b0d4e8bffc04b5ff5728d474ba75953dc8f /drivers/net/qlcnic/qlcnic_init.c | |
parent | 03c5d770c24cd673d105fbf1a9706ae838272091 (diff) |
qlcnic: add cksum flag
o New CKSUM flag added by fw to notify cksum is verified.
o Update version to 5.0.9
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_init.c')
-rw-r--r-- | drivers/net/qlcnic/qlcnic_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic_init.c b/drivers/net/qlcnic/qlcnic_init.c index 8e0e7a3bbf9e..8e47d7aea562 100644 --- a/drivers/net/qlcnic/qlcnic_init.c +++ b/drivers/net/qlcnic/qlcnic_init.c @@ -1364,7 +1364,8 @@ static struct sk_buff *qlcnic_process_rxbuf(struct qlcnic_adapter *adapter, skb = buffer->skb; - if (likely(adapter->rx_csum && cksum == STATUS_CKSUM_OK)) { + if (likely(adapter->rx_csum && (cksum == STATUS_CKSUM_OK || + cksum == STATUS_CKSUM_LOOP))) { adapter->stats.csummed++; skb->ip_summed = CHECKSUM_UNNECESSARY; } else { |