mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
MFp4 @180887:
With pr_destroy being gone, call ip_destroy from an ordered VNET_SYSUNINT. Make ip_destroy() static. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
0ea826e094
commit
f2cf0121ca
2 changed files with 4 additions and 5 deletions
|
|
@ -361,8 +361,8 @@ ip_init(void)
|
|||
}
|
||||
|
||||
#ifdef VIMAGE
|
||||
void
|
||||
ip_destroy(void)
|
||||
static void
|
||||
ip_destroy(void *unused __unused)
|
||||
{
|
||||
int error;
|
||||
|
||||
|
|
@ -388,6 +388,8 @@ ip_destroy(void)
|
|||
/* Destroy IP reassembly queue. */
|
||||
ipreass_destroy();
|
||||
}
|
||||
|
||||
VNET_SYSUNINIT(ip, SI_SUB_PROTO_DOMAIN, SI_ORDER_THIRD, ip_destroy, NULL);
|
||||
#endif
|
||||
|
||||
#ifdef RSS
|
||||
|
|
|
|||
|
|
@ -209,9 +209,6 @@ int ip_fragment(struct ip *ip, struct mbuf **m_frag, int mtu,
|
|||
u_long if_hwassist_flags);
|
||||
void ip_forward(struct mbuf *m, int srcrt);
|
||||
void ip_init(void);
|
||||
#ifdef VIMAGE
|
||||
void ip_destroy(void);
|
||||
#endif
|
||||
extern int
|
||||
(*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
|
||||
struct ip_moptions *);
|
||||
|
|
|
|||
Loading…
Reference in a new issue