fix crash bug during rule restore
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | src: erec: fall back to internal location if its nullsrc/ | +3 | 3 replies | |
| 2/3 | src: evaluate: don't rely on global chain ctx for error reportingsrc/ | +7 | 0 replies | |
| 3/3 | src: evaluate: return immediately if no op was requestedsrc/ tests/ | +15 | 7 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nft 0/3] fix crash bug during rule restore
https://bugzilla.netfilter.org/show_bug.cgi?id=1351
nft -f <<EOF
flush ruleset
table inet filter {
}
table inet filter {
chain test {
counter
}
}EOF
segfaults during error reporting.
First patch makes error handling more robust.
Second patch passes the right handle -- with above ruleset this highlights "chain test" in the resulting error message.
Last patch skips rule cache updates for invalid op to restore the 0.9.0 behaviour.