[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20211105012541.74005-1-zhang.mingyu@zte.com.cn>
Date: Fri, 5 Nov 2021 01:25:41 +0000
From: cgel.zte@...il.com
To: pablo@...filter.org
Cc: kadlec@...filter.org, fw@...len.de, davem@...emloft.net,
kuba@...nel.org, netfilter-devel@...r.kernel.org,
coreteam@...filter.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
Zhang Mingyu <zhang.mingyu@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: [PATCH] netfilter: nft_payload: remove duplicate include in nft_payload.c
From: Zhang Mingyu <zhang.mingyu@....com.cn>
'linux/ip.h' included in 'net/netfilter/nft_payload.c' is duplicated.
Reported-by: Zeal Robot <zealci@....com.cn>
Signed-off-by: Zhang Mingyu <zhang.mingyu@....com.cn>
---
net/netfilter/nft_payload.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/netfilter/nft_payload.c b/net/netfilter/nft_payload.c
index cbfe4e4a4ad7..bd689938a2e0 100644
--- a/net/netfilter/nft_payload.c
+++ b/net/netfilter/nft_payload.c
@@ -22,7 +22,6 @@
#include <linux/icmpv6.h>
#include <linux/ip.h>
#include <linux/ipv6.h>
-#include <linux/ip.h>
#include <net/sctp/checksum.h>
static bool nft_payload_rebuild_vlan_hdr(const struct sk_buff *skb, int mac_off,
--
2.25.1
Powered by blists - more mailing lists