Cory Snider
fc2f56702d
d/libn/i/nftables: reject Apply on a closed nft_ctx
...
Close() frees the libnftables context and nils out the handle, so passing
a closed nftCtx to Apply() would hand a nil pointer to libnftables and
crash the daemon.
No caller can do that today: table.nftApply() nil-checks its *nftCtx and
creates a new context when it has been closed, and RunCmd() owns its
context for the duration of a single call. Return an error anyway, rather
than depending on every future caller to get the lifecycle right.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
Signed-off-by: Cory Snider <csnider@mirantis.com >
2026-07-29 20:41:59 -04:00
..
2025-12-15 18:56:34 +01:00
2025-07-21 09:30:05 -07:00
2026-07-22 13:15:04 +00:00
2026-07-06 15:36:17 +02:00
2025-09-03 12:10:10 +02:00
2025-10-20 11:49:03 +02:00
2026-03-14 19:30:07 +01:00
2025-11-11 15:01:25 +01:00
2025-10-03 21:39:14 +02:00
2026-07-29 10:52:59 -04:00
2025-09-02 21:55:03 +02:00
2026-07-13 10:57:13 +02:00
2026-07-29 20:41:59 -04:00
2025-09-10 11:06:05 -04:00
2026-07-06 15:36:17 +02:00
2025-08-01 00:49:22 +02:00
2025-09-10 11:00:35 -04:00
2026-05-16 15:13:13 +02:00
2025-08-28 00:20:34 -07:00
2025-12-15 18:56:34 +01:00
2026-07-14 10:45:42 +02:00
2026-04-10 02:02:51 +09:00
2026-04-10 02:02:51 +09:00
2026-03-25 23:23:41 +01:00
2026-07-29 15:03:39 -04:00
2026-06-12 12:09:28 +02:00
2026-04-10 02:02:51 +09:00
2025-08-28 11:47:29 +02:00
2025-11-28 19:40:34 +01:00
2025-08-01 14:48:05 +02:00
2026-06-16 11:38:15 +02:00
2025-08-16 15:18:22 +02:00
2025-09-08 10:05:29 +02:00
2026-01-13 18:37:32 -05:00
2026-02-12 16:04:36 +01:00
2026-04-25 16:22:09 +09:00
2025-07-21 09:30:05 -07:00
2025-12-15 18:56:34 +01:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2025-07-31 10:13:29 -07:00
2026-04-09 16:10:44 +05:30
2025-09-03 12:10:10 +02:00
2025-09-03 12:10:10 +02:00
2025-09-03 12:10:10 +02:00
2025-07-31 10:13:29 -07:00
2025-08-08 17:07:07 +02:00
2025-08-08 17:07:07 +02:00
2025-10-21 10:37:05 +02:00
2025-07-31 10:13:29 -07:00
2025-08-01 00:49:22 +02:00
2025-09-08 10:08:35 +02:00
2026-04-16 12:59:36 +02:00
2025-07-31 10:13:29 -07:00
2025-09-08 10:08:35 +02:00
2025-07-31 10:13:29 -07:00
2025-07-23 15:52:10 -04:00
2026-07-06 15:36:17 +02:00
2026-01-19 13:43:06 +01:00
2025-07-31 10:13:29 -07:00
2025-08-01 00:49:22 +02:00
2025-09-15 10:39:08 +01:00
2025-09-25 22:53:41 +02:00
2026-03-25 23:23:41 +01:00
2026-05-28 14:49:02 +02:00
2026-05-05 19:03:46 +02:00
2025-09-08 10:08:35 +02:00
2025-09-24 18:27:17 +01:00
2026-07-08 11:52:58 +05:30
2025-11-28 09:47:01 +01:00
2025-11-28 09:47:04 +01:00
2025-09-15 10:39:08 +01:00
2025-07-31 10:13:29 -07:00
2026-02-14 07:51:29 -08:00
2025-10-03 21:39:14 +02:00
2026-02-14 07:51:29 -08:00
2026-04-09 16:10:44 +05:30
2026-02-14 07:51:29 -08:00
2025-12-15 18:56:33 +01:00
2026-05-12 14:37:09 +02:00
2026-05-12 14:37:09 +02:00
2026-07-06 22:53:33 -07:00
2026-07-30 02:06:07 +02:00
2026-07-06 15:36:17 +02:00
2025-07-31 10:13:29 -07:00
2025-09-03 12:10:10 +02:00
2025-07-31 10:13:29 -07:00