Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 247023
b: refs/heads/master
c: a406b61
h: refs/heads/master
i:
  247021: bbdf0bb
  247019: a92bb1d
  247015: 96bd276
  247007: 5c078c1
v: v3
  • Loading branch information
David S. Miller committed Apr 29, 2011
1 parent 5b1d7f7 commit 8cd3a2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: b883187785004cacea053569f1655fada0dfc299
refs/heads/master: a406b611b5f26a18773e4237d79f6df3eaed1d32
4 changes: 2 additions & 2 deletions trunk/net/ipv4/datagram.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ int ip4_datagram_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len)
return -EACCES;
}
if (!inet->inet_saddr)
inet->inet_saddr = rt->rt_src; /* Update source address */
inet->inet_saddr = fl4.saddr; /* Update source address */
if (!inet->inet_rcv_saddr) {
inet->inet_rcv_saddr = rt->rt_src;
inet->inet_rcv_saddr = fl4.saddr;
if (sk->sk_prot->rehash)
sk->sk_prot->rehash(sk);
}
Expand Down

0 comments on commit 8cd3a2f

Please sign in to comment.