diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2020-01-15 06:05:20 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2020-01-15 06:05:20 +0000 |
commit | 2a4bd982d0530863c7fd2aa1ff2b8de27b8896c7 (patch) | |
tree | 0b20d2a92e2dac3c5bb75a62e7c5ccabcaf29d51 /sys/netpfil/ipfw | |
parent | b1328235b470b7a70177ac0f2e916f94b94501c3 (diff) | |
download | src-2a4bd982d0530863c7fd2aa1ff2b8de27b8896c7.tar.gz src-2a4bd982d0530863c7fd2aa1ff2b8de27b8896c7.zip |
Introduce NET_EPOCH_CALL() macro and use it everywhere where we free
data based on the network epoch. The macro reverses the argument
order of epoch_call(9) - first function, then its argument. NFC
Notes
Notes:
svn path=/head/; revision=356755
Diffstat (limited to 'sys/netpfil/ipfw')
-rw-r--r-- | sys/netpfil/ipfw/nat64/nat64lsn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netpfil/ipfw/nat64/nat64lsn.c b/sys/netpfil/ipfw/nat64/nat64lsn.c index b1356b3b9696..ed50239176d0 100644 --- a/sys/netpfil/ipfw/nat64/nat64lsn.c +++ b/sys/netpfil/ipfw/nat64/nat64lsn.c @@ -75,7 +75,7 @@ MALLOC_DEFINE(M_NAT64LSN, "NAT64LSN", "NAT64LSN"); #define NAT64LSN_EPOCH_ENTER(et) NET_EPOCH_ENTER(et) #define NAT64LSN_EPOCH_EXIT(et) NET_EPOCH_EXIT(et) #define NAT64LSN_EPOCH_ASSERT() NET_EPOCH_ASSERT() -#define NAT64LSN_EPOCH_CALL(c, f) epoch_call(net_epoch_preempt, (c), (f)) +#define NAT64LSN_EPOCH_CALL(c, f) NET_EPOCH_CALL((f), (c)) static uma_zone_t nat64lsn_host_zone; static uma_zone_t nat64lsn_pgchunk_zone; |