aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Ovechkin <ovov@yandex-team.ru>2020-10-20 14:43:33 +0300
committerJakub Kicinski <kuba@kernel.org>2020-10-20 21:16:45 -0700
commitb7c24497baeaf21172b447f7cca36b0e99bd11e3 (patch)
treeb02760beaeb038085196439cfa8f7a23d364988b
parenta7a12b5a0f950bc6b9f7153390634ea798738db9 (diff)
downloadlinux-stericsson-b7c24497baeaf21172b447f7cca36b0e99bd11e3.tar.gz
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 <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>
-rw-r--r--net/mpls/mpls_iptunnel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mpls/mpls_iptunnel.c b/net/mpls/mpls_iptunnel.c
index 2def85718d94..ef59e25dc482 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");