mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
skb_push() already increases the skb->len by ETH_HLEN, hence adding ETH_HLEN to the packet_size is redundant. A too large packet size becomes a problem for large MTUs. With a maximum MTU of 1500, adding ETH_HLEN twice will lead to a packet size of 1528. Since this is larger than what we expect for good-old Ethernet (max. 1522), some clients (e.g. the e1000 model in vbox5) may drop these packets. Fixes genodelabs/genode#4228