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
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 28074 Build 26219: arc lint + arc unit
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.