aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/sge.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/chelsio/sge.c')
-rw-r--r--drivers/net/chelsio/sge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/chelsio/sge.c b/drivers/net/chelsio/sge.c
index f01cfdb995de..340b537dc97e 100644
--- a/drivers/net/chelsio/sge.c
+++ b/drivers/net/chelsio/sge.c
@@ -1388,7 +1388,7 @@ static void sge_rx(struct sge *sge, struct freelQ *fl, unsigned int len)
1388 ++st->rx_cso_good; 1388 ++st->rx_cso_good;
1389 skb->ip_summed = CHECKSUM_UNNECESSARY; 1389 skb->ip_summed = CHECKSUM_UNNECESSARY;
1390 } else 1390 } else
1391 skb->ip_summed = CHECKSUM_NONE; 1391 skb_checksum_none_assert(skb);
1392 1392
1393 if (unlikely(adapter->vlan_grp && p->vlan_valid)) { 1393 if (unlikely(adapter->vlan_grp && p->vlan_valid)) {
1394 st->vlan_xtract++; 1394 st->vlan_xtract++;
@@ -1551,7 +1551,7 @@ static inline int responses_pending(const struct adapter *adapter)
1551 const struct respQ *Q = &adapter->sge->respQ; 1551 const struct respQ *Q = &adapter->sge->respQ;
1552 const struct respQ_e *e = &Q->entries[Q->cidx]; 1552 const struct respQ_e *e = &Q->entries[Q->cidx];
1553 1553
1554 return (e->GenerationBit == Q->genbit); 1554 return e->GenerationBit == Q->genbit;
1555} 1555}
1556 1556
1557/* 1557/*