Commit a9c627a8 authored by Philippe Gerum's avatar Philippe Gerum Committed by Jan Kiszka

net/drivers: macb: do not check for initial checksum value

See https://www.xenomai.org/pipermail/xenomai/2019-February/040321.html.
Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 4e52f1d0
......@@ -725,7 +725,6 @@ static int gem_rx(struct macb *bp, int budget, nanosecs_abs_t *time_stamp)
bp->rx_buffer_size, DMA_FROM_DEVICE);
skb->protocol = rt_eth_type_trans(skb, bp->dev);
rtskb_checksum_none_assert(skb);
bp->stats.rx_packets++;
bp->stats.rx_bytes += skb->len;
......@@ -792,7 +791,6 @@ static int macb_rx_frame(struct macb *bp, unsigned int first_frag,
offset = 0;
len += NET_IP_ALIGN;
skb->time_stamp = *time_stamp;
rtskb_checksum_none_assert(skb);
rtskb_put(skb, len);
for (frag = first_frag; ; frag++) {
......
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