mpls: load mpls_gso after mpls_iptunnel
authorAlexander Ovechkin <ovov@yandex-team.ru>
Tue, 20 Oct 2020 11:43:33 +0000 (14:43 +0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 Oct 2020 04:16:45 +0000 (21:16 -0700)
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 <ovov@yandex-team.ru>
Acked-by: Dmitry Yakunin <zeil@yandex-team.ru>
Reviewed-by: David Ahern <dsahern@gmail.com>
Link: https://lore.kernel.org/r/20201020114333.26866-1-ovov@yandex-team.ru
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mpls/mpls_iptunnel.c

index 2def857..ef59e25 100644 (file)
@@ -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");