diff options
author | David S. Miller <davem@davemloft.net> | 2014-05-12 13:19:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-12 13:19:14 -0400 |
commit | 5f013c9bc70214dcacd5fbed5a06c217d6ff9c59 (patch) | |
tree | 34c3a633000e03bca57d0ce55d8759f86edecc03 /drivers/net/macvlan.c | |
parent | 51ee42efa0829cf9e46f8e1c0ab7a9ab6facf3f2 (diff) | |
parent | 1a466ae96e9f749d02a73315a3e66375e61a61dd (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts:
drivers/net/ethernet/altera/altera_sgdma.c
net/netlink/af_netlink.c
net/sched/cls_api.c
net/sched/sch_api.c
The netlink conflict dealt with moving to netlink_capable() and
netlink_ns_capable() in the 'net' tree vs. supporting 'tc' operations
in non-init namespaces. These were simple transformations from
netlink_capable to netlink_ns_capable.
The Altera driver conflict was simply code removal overlapping some
void pointer cast cleanups in net-next.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macvlan.c')
-rw-r--r-- | drivers/net/macvlan.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index cfb27c865417..f0118d1a3e46 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c | |||
@@ -332,11 +332,9 @@ static int macvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev) | |||
332 | const struct macvlan_dev *vlan = netdev_priv(dev); | 332 | const struct macvlan_dev *vlan = netdev_priv(dev); |
333 | const struct macvlan_port *port = vlan->port; | 333 | const struct macvlan_port *port = vlan->port; |
334 | const struct macvlan_dev *dest; | 334 | const struct macvlan_dev *dest; |
335 | __u8 ip_summed = skb->ip_summed; | ||
336 | 335 | ||
337 | if (vlan->mode == MACVLAN_MODE_BRIDGE) { | 336 | if (vlan->mode == MACVLAN_MODE_BRIDGE) { |
338 | const struct ethhdr *eth = (void *)skb->data; | 337 | const struct ethhdr *eth = (void *)skb->data; |
339 | skb->ip_summed = CHECKSUM_UNNECESSARY; | ||
340 | 338 | ||
341 | /* send to other bridge ports directly */ | 339 | /* send to other bridge ports directly */ |
342 | if (is_multicast_ether_addr(eth->h_dest)) { | 340 | if (is_multicast_ether_addr(eth->h_dest)) { |
@@ -354,7 +352,6 @@ static int macvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev) | |||
354 | } | 352 | } |
355 | 353 | ||
356 | xmit_world: | 354 | xmit_world: |
357 | skb->ip_summed = ip_summed; | ||
358 | skb->dev = vlan->lowerdev; | 355 | skb->dev = vlan->lowerdev; |
359 | return dev_queue_xmit(skb); | 356 | return dev_queue_xmit(skb); |
360 | } | 357 | } |