|
@@ -263,11 +263,9 @@ static int macvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev)
|
|
|
const struct macvlan_dev *vlan = netdev_priv(dev);
|
|
|
const struct macvlan_port *port = vlan->port;
|
|
|
const struct macvlan_dev *dest;
|
|
|
- __u8 ip_summed = skb->ip_summed;
|
|
|
|
|
|
if (vlan->mode == MACVLAN_MODE_BRIDGE) {
|
|
|
const struct ethhdr *eth = (void *)skb->data;
|
|
|
- skb->ip_summed = CHECKSUM_UNNECESSARY;
|
|
|
|
|
|
/* send to other bridge ports directly */
|
|
|
if (is_multicast_ether_addr(eth->h_dest)) {
|
|
@@ -285,7 +283,6 @@ static int macvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev)
|
|
|
}
|
|
|
|
|
|
xmit_world:
|
|
|
- skb->ip_summed = ip_summed;
|
|
|
skb->dev = vlan->lowerdev;
|
|
|
return dev_queue_xmit(skb);
|
|
|
}
|