mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 12:25:31 +00:00
ipv4: Fetch route saddr from flow key in inet_sk_reselect_saddr().
Now that output route lookups update the flow with source address selection, we can fetch it from fl4->saddr instead of rt->rt_src Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6706b6ebab
commit
b883187785
@ -1122,7 +1122,7 @@ static int inet_sk_reselect_saddr(struct sock *sk)
|
||||
|
||||
sk_setup_caps(sk, &rt->dst);
|
||||
|
||||
new_saddr = rt->rt_src;
|
||||
new_saddr = fl4.saddr;
|
||||
|
||||
if (new_saddr == old_saddr)
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user