diff options
author | 2011-11-23 02:12:13 +0000 | |
---|---|---|
committer | 2011-11-26 14:29:50 -0500 | |
commit | 6b600b26c0215bf9ed04062ecfacf0bc20e2588c (patch) | |
tree | a3dbd36f83c8c3d813b1422e472af6a31ace40d2 /net/unix/af_unix.c | |
parent | netns: fix proxy ARP entries listing on a netns (diff) | |
download | wireguard-linux-6b600b26c0215bf9ed04062ecfacf0bc20e2588c.tar.xz wireguard-linux-6b600b26c0215bf9ed04062ecfacf0bc20e2588c.zip |
route: Use the device mtu as the default for blackhole routes
As it is, we return null as the default mtu of blackhole routes.
This may lead to a propagation of a bogus pmtu if the default_mtu
method of a blackhole route is invoked. So return dst->dev->mtu
as the default mtu instead.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions