mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 10:27:12 +08:00
pf_ioctl.c: Disable superfluous unload support
This commit is contained in:
@@ -4205,6 +4205,7 @@ pf_load(void)
|
|||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __rtems__
|
||||||
static void
|
static void
|
||||||
pf_unload_vnet(void)
|
pf_unload_vnet(void)
|
||||||
{
|
{
|
||||||
@@ -4241,6 +4242,7 @@ pf_unload_vnet(void)
|
|||||||
if (IS_DEFAULT_VNET(curvnet))
|
if (IS_DEFAULT_VNET(curvnet))
|
||||||
pf_mtag_cleanup();
|
pf_mtag_cleanup();
|
||||||
}
|
}
|
||||||
|
#endif /* __rtems__ */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
pf_unload(void)
|
pf_unload(void)
|
||||||
@@ -4273,6 +4275,7 @@ vnet_pf_init(void *unused __unused)
|
|||||||
VNET_SYSINIT(vnet_pf_init, SI_SUB_PROTO_FIREWALL, SI_ORDER_THIRD,
|
VNET_SYSINIT(vnet_pf_init, SI_SUB_PROTO_FIREWALL, SI_ORDER_THIRD,
|
||||||
vnet_pf_init, NULL);
|
vnet_pf_init, NULL);
|
||||||
|
|
||||||
|
#ifndef __rtems__
|
||||||
static void
|
static void
|
||||||
vnet_pf_uninit(const void *unused __unused)
|
vnet_pf_uninit(const void *unused __unused)
|
||||||
{
|
{
|
||||||
@@ -4282,6 +4285,7 @@ vnet_pf_uninit(const void *unused __unused)
|
|||||||
SYSUNINIT(pf_unload, SI_SUB_PROTO_FIREWALL, SI_ORDER_SECOND, pf_unload, NULL);
|
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_SYSUNINIT(vnet_pf_uninit, SI_SUB_PROTO_FIREWALL, SI_ORDER_THIRD,
|
||||||
vnet_pf_uninit, NULL);
|
vnet_pf_uninit, NULL);
|
||||||
|
#endif /* __rtems__ */
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Reference in New Issue
Block a user