Fix large-batch netlink errors and revert failed try applies #30
Reference in New Issue
Block a user
Delete Branch "benvin/try-apply-error"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Large applies fail at the netlink socket: past ~300 rules the kernel commits the batch but drops ACKs beyond the receive buffer (ENOBUFS), and larger batches exceed the send buffer (EMSGSIZE). Separately, a failed try apply discarded its snapshot without reverting, leaving a possibly committed, unconfirmed ruleset with no pending revert.
No findings.