diff options
-rw-r--r-- | net/ipv4/af_inet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index 963a621e75c..4e734992e26 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c | |||
@@ -1122,7 +1122,7 @@ static int inet_sk_reselect_saddr(struct sock *sk) | |||
1122 | 1122 | ||
1123 | sk_setup_caps(sk, &rt->dst); | 1123 | sk_setup_caps(sk, &rt->dst); |
1124 | 1124 | ||
1125 | new_saddr = rt->rt_src; | 1125 | new_saddr = fl4.saddr; |
1126 | 1126 | ||
1127 | if (new_saddr == old_saddr) | 1127 | if (new_saddr == old_saddr) |
1128 | return 0; | 1128 | return 0; |