Warn users when they try to add/delete/modify more items than the kernel
will allow.
Details
Details
- Reviewers
allanjude donner - Group Reviewers
network - Commits
- rS355743: pfctl: Warn users when they run into kernel limits
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Reporting an "error too many tables" is useful for adding a new table.
It's wrong for deleting and misleading for obtaining statistics.
Comment Actions
I think we need different error messages.
Deleting a table might be stopped by "table in use".
Obtaining statistics might be prevented by "table not found".
If the error message does not reflect the real cause, it will create more harm, than omitting it.