diff options
author | davem <davem> | 2002-01-24 15:50:31 +0000 |
---|---|---|
committer | davem <davem> | 2002-01-24 15:50:31 +0000 |
commit | 5cb1a0374e507fda055bd933477245718bc73304 (patch) | |
tree | 82bf2dc41482df625716032232f4d8af655175c2 | |
parent | 288d6928f38987cb12d48dd834e6962cb6678591 (diff) | |
download | netdev-vger-cvs-5cb1a0374e507fda055bd933477245718bc73304.tar.gz |
Fix MOD_{INC,DEC}_USE_COUNT usage, it is not
a function. :-)
-rw-r--r-- | net/ipv4/netfilter/ipfwadm_core.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ipv4/netfilter/ipfwadm_core.c b/net/ipv4/netfilter/ipfwadm_core.c index db900fe2c..e50f3a76a 100644 --- a/net/ipv4/netfilter/ipfwadm_core.c +++ b/net/ipv4/netfilter/ipfwadm_core.c @@ -20,7 +20,7 @@ * license in recognition of the original copyright. * -- Alan Cox. * - * $Id: ipfwadm_core.c,v 1.10 2002-01-23 13:20:54 davem Exp $ + * $Id: ipfwadm_core.c,v 1.11 2002-01-24 15:50:31 davem Exp $ * * Ported from BSD to Linux, * Alan Cox 22/Nov/1994. @@ -688,7 +688,7 @@ static void free_fw_chain(struct ip_fw *volatile* chainptr) ftmp = *chainptr; *chainptr = ftmp->fw_next; kfree(ftmp); - MOD_DEC_USE_COUNT(); + MOD_DEC_USE_COUNT; } restore_flags(flags); } @@ -732,7 +732,7 @@ static int insert_in_chain(struct ip_fw *volatile* chainptr, struct ip_fw *frwl, ftmp->fw_next = *chainptr; *chainptr=ftmp; restore_flags(flags); - MOD_INC_USE_COUNT(); + MOD_INC_USE_COUNT; return(0); } @@ -783,7 +783,7 @@ static int append_to_chain(struct ip_fw *volatile* chainptr, struct ip_fw *frwl, else *chainptr=ftmp; restore_flags(flags); - MOD_INC_USE_COUNT(); + MOD_INC_USE_COUNT; return(0); } @@ -858,7 +858,7 @@ static int del_from_chain(struct ip_fw *volatile*chainptr, struct ip_fw *frwl) } restore_flags(flags); if (was_found) { - MOD_DEC_USE_COUNT(); + MOD_DEC_USE_COUNT; return 0; } else return(EINVAL); |