Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247963
b: refs/heads/master
c: a37dd33
h: refs/heads/master
i:
  247961: a8646d6
  247959: 267c96e
v: v3
  • Loading branch information
David Ward authored and David S. Miller committed May 23, 2011
1 parent 67c0581 commit 0774a46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 67f11f4deda0818640decb19a28c537dbe5d429e
refs/heads/master: a37dd3332319260cce81ac91ce25fcc3a31de997
6 changes: 2 additions & 4 deletions trunk/drivers/net/macvlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,8 @@ static int macvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev)

dest = macvlan_hash_lookup(port, eth->h_dest);
if (dest && dest->mode == MACVLAN_MODE_BRIDGE) {
unsigned int length = skb->len + ETH_HLEN;
int ret = dest->forward(dest->dev, skb);
macvlan_count_rx(dest, length,
ret == NET_RX_SUCCESS, 0);
/* send to lowerdev first for its network taps */
vlan->forward(vlan->lowerdev, skb);

return NET_XMIT_SUCCESS;
}
Expand Down

0 comments on commit 0774a46

Please sign in to comment.