From: Alexander Ovechkin Date: Tue, 20 Oct 2020 11:43:33 +0000 (+0300) Subject: mpls: load mpls_gso after mpls_iptunnel X-Git-Tag: v5.10-rc1~40^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b7c24497baeaf21172b447f7cca36b0e99bd11e3;p=thirdparty%2Flinux.git mpls: load mpls_gso after mpls_iptunnel mpls_iptunnel is used only for mpls encapsuation, and if encaplusated packet is larger than MTU we need mpls_gso for segmentation. Signed-off-by: Alexander Ovechkin Acked-by: Dmitry Yakunin Reviewed-by: David Ahern Link: https://lore.kernel.org/r/20201020114333.26866-1-ovov@yandex-team.ru Signed-off-by: Jakub Kicinski --- diff --git a/net/mpls/mpls_iptunnel.c b/net/mpls/mpls_iptunnel.c index 2def85718d946..ef59e25dc4827 100644 --- a/net/mpls/mpls_iptunnel.c +++ b/net/mpls/mpls_iptunnel.c @@ -300,5 +300,6 @@ static void __exit mpls_iptunnel_exit(void) module_exit(mpls_iptunnel_exit); MODULE_ALIAS_RTNL_LWT(MPLS); +MODULE_SOFTDEP("post: mpls_gso"); MODULE_DESCRIPTION("MultiProtocol Label Switching IP Tunnels"); MODULE_LICENSE("GPL v2");