Browse Source

Checksum definitely needed

Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
master
Stefan Reinauer 8 months ago
parent
commit
6671511575
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      zz9000_network.c

+ 2
- 2
zz9000_network.c View File

@@ -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,


Loading…
Cancel
Save