Browse Source

MT#56647 kernel-module: Add MODULE_ALIAS for ipt and ip6t iptables support

These are the entries the kernel will try to look for when userspace
tries to use the RTPENGINE support, but the module is called
xt_RTPENGINE so the kernel does not find it and thus cannot autoload
it.

The problem is that we have startup code that sets up iptables rules,
and will fail if the module has not yet been loaded. By adding these
aliases we are no longer concerned about the ordering, and can let the
kernel autoload the modules when they are needed.

Change-Id: I43a54af4e32adf755538c57df711da048c720030
(cherry picked from commit 2a6b2459f2)
(cherry picked from commit bae90fbbf5)
mr9.5.6
Guillem Jover 3 years ago
parent
commit
39c6157dd2
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      kernel-module/xt_RTPENGINE.c

+ 2
- 0
kernel-module/xt_RTPENGINE.c View File

@ -46,6 +46,8 @@ MODULE_LICENSE("GPL");
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,12,0)
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
#endif
MODULE_ALIAS("ipt_RTPENGINE");
MODULE_ALIAS("ip6t_RTPENGINE");


Loading…
Cancel
Save