From: Liping Zhang Date: Wed, 12 Oct 2016 13:09:22 +0000 (+0800) Subject: netfilter: xt_ipcomp: add "ip[6]t_ipcomp" module alias name X-Git-Tag: v5.15~12545^2~53^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f434ed0a00b232efc9843c869d05048c7cd79bb7;p=platform%2Fkernel%2Flinux-starfive.git netfilter: xt_ipcomp: add "ip[6]t_ipcomp" module alias name Otherwise, user cannot add related rules if xt_ipcomp.ko is not loaded: # iptables -A OUTPUT -p 108 -m ipcomp --ipcompspi 1 iptables: No chain/target/match by that name. Signed-off-by: Liping Zhang Signed-off-by: Pablo Neira Ayuso --- diff --git a/net/netfilter/xt_ipcomp.c b/net/netfilter/xt_ipcomp.c index 89d5310..000e703 100644 --- a/net/netfilter/xt_ipcomp.c +++ b/net/netfilter/xt_ipcomp.c @@ -26,6 +26,8 @@ MODULE_LICENSE("GPL"); MODULE_AUTHOR("Fan Du "); MODULE_DESCRIPTION("Xtables: IPv4/6 IPsec-IPComp SPI match"); +MODULE_ALIAS("ipt_ipcomp"); +MODULE_ALIAS("ip6t_ipcomp"); /* Returns 1 if the spi is matched by the range, 0 otherwise */ static inline bool