diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2007-12-01 00:01:50 +1100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2007-12-01 00:01:50 +1100 |
commit | 67b4af297033f5f65999885542f95ba7b562848a (patch) | |
tree | fc719bd0cd194a496d05ff5e0816cbc06e9d1727 /lib/textsearch.c | |
parent | 9dc0564e862b1b9a4677dec2c736b12169e03e99 (diff) | |
download | lwn-67b4af297033f5f65999885542f95ba7b562848a.tar.gz lwn-67b4af297033f5f65999885542f95ba7b562848a.zip |
[NETFILTER]: fix forgotten module release in xt_CONNMARK and xt_CONNSECMARK
Fix forgotten module release in xt_CONNMARK and xt_CONNSECMARK
When xt_CONNMARK is used outside the mangle table and the user specified
"--restore-mark", the connmark_tg_check() function will (correctly)
error out, but (incorrectly) forgets to release the L3 conntrack module.
Same for xt_CONNSECMARK.
Fix is to move the call to acquire the L3 module after the basic
constraint checks.
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/textsearch.c')
0 files changed, 0 insertions, 0 deletions