Skip to content
Commit 214f45c9 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: provide default_advmss() methods to blackhole dst_ops

Commit 0dbaee3b

 (net: Abstract default ADVMSS behind an
accessor.) introduced a possible crash in tcp_connect_init(), when
dst->default_advmss() is called from dst_metric_advmss()

Reported-by: default avatarGeorge Spelvin <linux@horizon.com>
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ed199fac
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment