|
@@ -771,8 +771,8 @@ static void ll_temac_recv(struct net_device *ndev)
|
|
|
|
|
|
/* if we're doing rx csum offload, set it up */
|
|
|
if (((lp->temac_features & TEMAC_FEATURE_RX_CSUM) != 0) &&
|
|
|
- (skb->protocol == __constant_htons(ETH_P_IP)) &&
|
|
|
- (skb->len > 64)) {
|
|
|
+ (skb->protocol == htons(ETH_P_IP)) &&
|
|
|
+ (skb->len > 64)) {
|
|
|
|
|
|
skb->csum = cur_p->app3 & 0xFFFF;
|
|
|
skb->ip_summed = CHECKSUM_COMPLETE;
|