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
|
||||
====
|
||||
Fixes:
|
||||
- SYSRQ: fix double target initialization at module load
|
||||
Enhancements:
|
||||
- TARPIT gained IPv6 support
|
||||
|
||||
|
@@ -359,10 +359,7 @@ static int __init sysrq_crypto_init(void)
|
||||
goto fail;
|
||||
do_gettimeofday(&now);
|
||||
sysrq_seqno = now.tv_sec;
|
||||
ret = xt_register_targets(sysrq_tg_reg, ARRAY_SIZE(sysrq_tg_reg));
|
||||
if (ret < 0)
|
||||
goto fail;
|
||||
return ret;
|
||||
return 0;
|
||||
|
||||
fail:
|
||||
sysrq_crypto_exit();
|
||||
|
Reference in New Issue
Block a user