Skip to content

Commit 196cec6

Browse files
Guillaume Naultgregkh
authored andcommitted
net/sched: act_mpls: Add softdep on mpls_gso.ko
TCA_MPLS_ACT_PUSH and TCA_MPLS_ACT_MAC_PUSH might be used on gso packets. Such packets will thus require mpls_gso.ko for segmentation. v2: Drop dependency on CONFIG_NET_MPLS_GSO in Kconfig (from Jakub and David). Fixes: 2a2ea50 ("net: sched: add mpls manipulation actions to TC") Signed-off-by: Guillaume Nault <gnault@redhat.com> Link: https://lore.kernel.org/r/1f6cab15bbd15666795061c55563aaf6a386e90e.1603708007.git.gnault@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 50dd09c commit 196cec6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

net/sched/act_mpls.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ static void __exit mpls_cleanup_module(void)
408408
module_init(mpls_init_module);
409409
module_exit(mpls_cleanup_module);
410410

411+
MODULE_SOFTDEP("post: mpls_gso");
411412
MODULE_AUTHOR("Netronome Systems <oss-drivers@netronome.com>");
412413
MODULE_LICENSE("GPL");
413414
MODULE_DESCRIPTION("MPLS manipulation actions");

0 commit comments

Comments
 (0)