5463f77d3b
- Backport fixes from upstream
30 lines
897 B
Diff
30 lines
897 B
Diff
From 1bf20a3bd929060cb9afdd798292f0463243e26d Mon Sep 17 00:00:00 2001
|
|
From: Phil Sutter <phil@nwl.cc>
|
|
Date: Wed, 29 Mar 2023 16:22:16 +0200
|
|
Subject: [PATCH] nft-shared: Drop unused include
|
|
|
|
Code does not refer to struct xt_comment_info anymore.
|
|
|
|
Fixes: 3bb497c61d743 ("xtables: Fix for deleting rules with comment")
|
|
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
|
(cherry picked from commit 465470184950d9035dcd1101c1f413f8a2051427)
|
|
---
|
|
iptables/nft-shared.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/iptables/nft-shared.c b/iptables/nft-shared.c
|
|
index 4a7b5406892c4..4ba44a4aa4d17 100644
|
|
--- a/iptables/nft-shared.c
|
|
+++ b/iptables/nft-shared.c
|
|
@@ -22,7 +22,6 @@
|
|
#include <xtables.h>
|
|
|
|
#include <linux/netfilter/nf_log.h>
|
|
-#include <linux/netfilter/xt_comment.h>
|
|
#include <linux/netfilter/xt_limit.h>
|
|
#include <linux/netfilter/xt_NFLOG.h>
|
|
#include <linux/netfilter/xt_mark.h>
|
|
--
|
|
2.40.0
|
|
|