Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223631
b: refs/heads/master
c: 0b79675
h: refs/heads/master
i:
  223629: 5e0e6bf
  223627: 00b665d
  223623: a344ad6
  223615: 9ad19a9
v: v3
  • Loading branch information
Michał Mirosław authored and David S. Miller committed Dec 16, 2010
1 parent 524bbce commit f81d59f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 76d661586c8131453ba75a2e027c1f21511a893a
refs/heads/master: 0b7967503dc97864f283a3a06fbe23e041876138
4 changes: 3 additions & 1 deletion trunk/drivers/net/veth.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ static netdev_tx_t veth_xmit(struct sk_buff *skb, struct net_device *dev)
if (!(rcv->flags & IFF_UP))
goto tx_drop;

if (dev->features & NETIF_F_NO_CSUM)
/* don't change ip_summed == CHECKSUM_PARTIAL, as that
will cause bad checksum on forwarded packets */
if (skb->ip_summed == CHECKSUM_NONE)
skb->ip_summed = rcv_priv->ip_summed;

length = skb->len + ETH_HLEN;
Expand Down

0 comments on commit f81d59f

Please sign in to comment.