From 436b910f1f4f5700f72fd4332f5b615497dcc27e Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Tue, 22 Jul 2014 16:46:39 +0530 Subject: [PATCH] networkd: add back path of MTU discovery for SIT --- src/network/networkd-netdev-tunnel.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/network/networkd-netdev-tunnel.c b/src/network/networkd-netdev-tunnel.c index 174fe234fd4..75876960b4f 100644 --- a/src/network/networkd-netdev-tunnel.c +++ b/src/network/networkd-netdev-tunnel.c @@ -120,6 +120,14 @@ static int netdev_sit_fill_message_create(NetDev *netdev, Link *link, sd_rtnl_me return r; } + r = sd_rtnl_message_append_u8(m, IFLA_IPTUN_PMTUDISC, t->pmtudisc); + if (r < 0) { + log_error_netdev(netdev, + "Could not append IFLA_IPTUN_PMTUDISC attribute: %s", + strerror(-r)); + return r; + } + return r; }