From: guodeqing <geffrey....@huawei.com> Date: Tue, 21 Jul 2020 21:09:22 +0800
> The ip header checksum can be error in the following steps. ... > $ ip netns exec ns1 tc qdisc add dev ip1 root netem corrupt 50% This is not valid. The kernel internally already validated the ipv4 header checksum before forwarding or sending it on egress to the ipvlan device. The driver can legitimately depend upon this validation. Besides, as Cong pointed out, so much other code in the ipvlan driver has read various ipv4 header members such as the addresses necessary to perform lookups.