Commit 66715115 authored by Stefan Reinauer's avatar Stefan Reinauer 🤠
Browse files

Checksum definitely needed


Signed-off-by: Stefan Reinauer's avatarStefan Reinauer <stefan.reinauer@coreboot.org>
parent 72fe40c9
......@@ -98,7 +98,7 @@ static inline int recv_packet(struct net_device *dev)
zz_writew(0x0001, MNTZZ_ETH_RX);
skb->protocol = eth_type_trans(skb, dev);
skb->ip_summed = CHECKSUM_UNNECESSARY; /* Don't check it */
skb->ip_summed = CHECKSUM_NONE;
dev->stats.rx_packets++;
dev->stats.rx_bytes += pktlen;
......@@ -188,7 +188,7 @@ static int zz9000_eth_start_xmit(struct sk_buff *skb, struct net_device *dev)
dev_kfree_skb(skb);
return 0;
return NETDEV_TX_OK;
}
static int zz9000_eth_do_ioctl(struct net_device *dev, struct ifreq *ifr,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment