Skip to content

Commit b21010e

Browse files
committed
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
2 parents b133003 + 5c127c5 commit b21010e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎net/ipv4/tcp_input.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ static u32 tcp_rto_min(struct sock *sk)
560560
struct dst_entry *dst = __sk_dst_get(sk);
561561
u32 rto_min = TCP_RTO_MIN;
562562

563-
if (dst_metric_locked(dst, RTAX_RTO_MIN))
563+
if (dst && dst_metric_locked(dst, RTAX_RTO_MIN))
564564
rto_min = dst->metrics[RTAX_RTO_MIN-1];
565565
return rto_min;
566566
}

0 commit comments

Comments
 (0)