Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122123
b: refs/heads/master
c: a21bba9
h: refs/heads/master
i:
  122121: 644fd13
  122119: 923ac48
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Nov 25, 2008
1 parent 10fc759 commit 08438bc
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 2e77d89b2fa8e3f8325b8ce7893ec3645f41aff5
refs/heads/master: a21bba945430f3f5e00c349665f88cdacdb32a8d
7 changes: 6 additions & 1 deletion trunk/net/ipv4/ip_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,12 @@ int ip_push_pending_frames(struct sock *sk)

skb->priority = sk->sk_priority;
skb->mark = sk->sk_mark;
skb->dst = dst_clone(&rt->u.dst);
/*
* Steal rt from cork.dst to avoid a pair of atomic_inc/atomic_dec
* on dst refcount
*/
inet->cork.dst = NULL;
skb->dst = &rt->u.dst;

if (iph->protocol == IPPROTO_ICMP)
icmp_out_count(net, ((struct icmphdr *)
Expand Down

0 comments on commit 08438bc

Please sign in to comment.