]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r339930:
authorbz <bz@FreeBSD.org>
Fri, 2 Nov 2018 14:07:06 +0000 (14:07 +0000)
committerbz <bz@FreeBSD.org>
Fri, 2 Nov 2018 14:07:06 +0000 (14:07 +0000)
commit8e8c575675e494dc52ddc6c546464fc2a230e07d
treeec5a8650d73ea24420ac1997114304f52381ee4a
parent7de04f3c46e620a92aaff9a355d2fb02c4ed1ec9
MFC r339930:

  With more excessive use of modules, more kernel parts working with
  VIMAGE, and feature richness and global state increasing the 8k of
  vnet module space are no longer sufficient for people and loading
  multiple modules, e.g., pf(4) and ipl(4) or ipsec(4) will fail on
  the second module.

  Increase the module space to 8 * PAGE_SIZE which should be enough
  to hold multiple firewalls, ipsec, multicast (as in the old days was
  a problem), epair, carp, and any kind of other vnet enabled modules.

  Sadly this is a global byte array part of the vnet_set, so we cannot
  dynamically change its size;  otherwise a TUNABLE would have been
  a better solution.

PR: 228854
sys/net/vnet.c