CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2021/01/13 02:13:30
Modified files:
sys/net : if_pflog.c if_pflog.h
Log message:
Link pflog(4) instances to `pflog_ifs' list instead of allocating
`pflogifs' array. This was done to prevent panics caused by internal
malloc(9) limit.
Also we avoid the case while single pflog(4) interface with a high index
allocates an array for all indices below and eats up kernel memory.
Since we have a very little count of pflog(4) interfaces linear search
does not performance impact.
ok bluhm@ claudio@ kn@