The cloner has ability to limit maximum unit. Punish it to do that rather than roll our own.
No functional change intended.
MFC after: 1 week
Differential D45767
if_pflog: Limit the maximum unit via new KPI zlei on Jun 28 2024, 4:05 AM. Authored by Tags None Referenced Files
Details
The cloner has ability to limit maximum unit. Punish it to do that rather than roll our own. No functional change intended. MFC after: 1 week Create up to PFLOGIFS_MAX ( 16 ) pflog interfaces, then it should fail to create additional interfaces. # ifconfig pflog create ifconfig: SIOCIFCREATE2 (pflog): No space left on device
Diff Detail
Event TimelineComment Actions
"Use it to do that" ? I'm not going to argue about the pf code deserving punishment, but that might not be what you meant ;) Comment Actions Ah, yes. I'd refer pflog_clone_create() as clone create function, and V_pflog_cloner as the cloner ;) |