summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAlexander Ovechkin <ovov@yandex-team.ru>2020-10-20 13:43:33 +0200
committerJakub Kicinski <kuba@kernel.org>2020-10-21 06:16:45 +0200
commitb7c24497baeaf21172b447f7cca36b0e99bd11e3 (patch)
treeb02760beaeb038085196439cfa8f7a23d364988b /net
parentnet/sched: act_tunnel_key: fix OOB write in case of IPv6 ERSPAN tunnels (diff)
downloadlinux-b7c24497baeaf21172b447f7cca36b0e99bd11e3.tar.xz
linux-b7c24497baeaf21172b447f7cca36b0e99bd11e3.zip
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>
Diffstat (limited to 'net')
-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");