mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 22:56:47 +07:00
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
This commit is contained in:
commit
b21010ed64
@ -560,7 +560,7 @@ static u32 tcp_rto_min(struct sock *sk)
|
||||
struct dst_entry *dst = __sk_dst_get(sk);
|
||||
u32 rto_min = TCP_RTO_MIN;
|
||||
|
||||
if (dst_metric_locked(dst, RTAX_RTO_MIN))
|
||||
if (dst && dst_metric_locked(dst, RTAX_RTO_MIN))
|
||||
rto_min = dst->metrics[RTAX_RTO_MIN-1];
|
||||
return rto_min;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user