mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-07 13:15:12 +02:00
SYSRQ: fix double target initialization at module load
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
|
|
||||||
HEAD
|
HEAD
|
||||||
====
|
====
|
||||||
|
Fixes:
|
||||||
|
- SYSRQ: fix double target initialization at module load
|
||||||
Enhancements:
|
Enhancements:
|
||||||
- TARPIT gained IPv6 support
|
- TARPIT gained IPv6 support
|
||||||
|
|
||||||
|
@@ -359,10 +359,7 @@ static int __init sysrq_crypto_init(void)
|
|||||||
goto fail;
|
goto fail;
|
||||||
do_gettimeofday(&now);
|
do_gettimeofday(&now);
|
||||||
sysrq_seqno = now.tv_sec;
|
sysrq_seqno = now.tv_sec;
|
||||||
ret = xt_register_targets(sysrq_tg_reg, ARRAY_SIZE(sysrq_tg_reg));
|
return 0;
|
||||||
if (ret < 0)
|
|
||||||
goto fail;
|
|
||||||
return ret;
|
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
sysrq_crypto_exit();
|
sysrq_crypto_exit();
|
||||||
|
Reference in New Issue
Block a user