Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225213
b: refs/heads/master
c: 7097818
h: refs/heads/master
i:
  225211: 3355d9a
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Dec 21, 2010
1 parent e7044b9 commit a333229
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: 356f039822b8d802138f7121c80d2a9286976dbd
refs/heads/master: 70978182d431e0348e6ef711d0f962d12c03bc46
9 changes: 2 additions & 7 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1547,13 +1547,6 @@ static void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev)
struct sk_buff *skb2 = NULL;
struct packet_type *pt_prev = NULL;

#ifdef CONFIG_NET_CLS_ACT
if (!(skb->tstamp.tv64 && (G_TC_FROM(skb->tc_verd) & AT_INGRESS)))
net_timestamp_set(skb);
#else
net_timestamp_set(skb);
#endif

rcu_read_lock();
list_for_each_entry_rcu(ptype, &ptype_all, list) {
/* Never send packets back to the socket
Expand All @@ -1572,6 +1565,8 @@ static void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev)
if (!skb2)
break;

net_timestamp_set(skb2);

/* skb->nh should be correctly
set by sender, so that the second statement is
just protection against buggy protocols.
Expand Down

0 comments on commit a333229

Please sign in to comment.