mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-27 20:55:28 +08:00
pf_ioctl.c: Disable superfluous unload support
This commit is contained in:
parent
19a0e2de5c
commit
f2124b600b
@ -4361,6 +4361,7 @@ pf_load(void)
|
||||
return (0);
|
||||
}
|
||||
|
||||
#ifndef __rtems__
|
||||
static void
|
||||
pf_unload_vnet(void)
|
||||
{
|
||||
@ -4417,6 +4418,7 @@ pf_unload_vnet(void)
|
||||
for (int i = 0; i < SCNT_MAX; i++)
|
||||
counter_u64_free(V_pf_status.scounters[i]);
|
||||
}
|
||||
#endif /* __rtems__ */
|
||||
|
||||
static void
|
||||
pf_unload(void)
|
||||
@ -4449,6 +4451,7 @@ vnet_pf_init(void *unused __unused)
|
||||
VNET_SYSINIT(vnet_pf_init, SI_SUB_PROTO_FIREWALL, SI_ORDER_THIRD,
|
||||
vnet_pf_init, NULL);
|
||||
|
||||
#ifndef __rtems__
|
||||
static void
|
||||
vnet_pf_uninit(const void *unused __unused)
|
||||
{
|
||||
@ -4458,6 +4461,7 @@ vnet_pf_uninit(const void *unused __unused)
|
||||
SYSUNINIT(pf_unload, SI_SUB_PROTO_FIREWALL, SI_ORDER_SECOND, pf_unload, NULL);
|
||||
VNET_SYSUNINIT(vnet_pf_uninit, SI_SUB_PROTO_FIREWALL, SI_ORDER_THIRD,
|
||||
vnet_pf_uninit, NULL);
|
||||
#endif /* __rtems__ */
|
||||
|
||||
|
||||
static int
|
||||
|
Loading…
x
Reference in New Issue
Block a user