[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a291f6c4-7145-c7b9-62ff-035d4c53ca5b@gmail.com>
Date: Tue, 20 Oct 2020 18:16:44 -0600
From: David Ahern <dsahern@...il.com>
To: Alexander Ovechkin <ovov@...dex-team.ru>, netdev@...r.kernel.org
Subject: Re: [PATCH net] mpls: load mpls_gso after mpls_iptunnel
On 10/20/20 5:02 AM, Alexander Ovechkin wrote:
> mpls_iptunnel is used only for mpls encapsuation, and if encaplusated
> packet is larger than MTU we need mpls_gso for segmentation.
Familiar with that problem
> ---
> net/mpls/mpls_iptunnel.c | 1 +
> 1 file changed, 1 insertion(+)
>
> 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");
>
interesting solution. did not know about the SOFTDEP.
LGTM
Reviewed-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists