All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] netfilter: nft_payload: Remove duplicated include in nft_payload.c
@ 2021-11-02  9:13 Wan Jiabing
  2021-11-08 10:28 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-11-02  9:13 UTC (permalink / raw)
  To: Pablo Neira Ayuso, Jozsef Kadlecsik, Florian Westphal,
	David S. Miller, Jakub Kicinski, netfilter-devel, coreteam,
	netdev, linux-kernel
  Cc: jiabing.wan, Wan Jiabing

Fix following checkincludes.pl warning:
./net/netfilter/nft_payload.c: linux/ip.h is included more than once.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 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.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] netfilter: nft_payload: Remove duplicated include in nft_payload.c
  2021-11-02  9:13 [PATCH] netfilter: nft_payload: Remove duplicated include in nft_payload.c Wan Jiabing
@ 2021-11-08 10:28 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2021-11-08 10:28 UTC (permalink / raw)
  To: Wan Jiabing
  Cc: Jozsef Kadlecsik, Florian Westphal, David S. Miller,
	Jakub Kicinski, netfilter-devel, coreteam, netdev, linux-kernel,
	jiabing.wan

On Tue, Nov 02, 2021 at 05:13:55AM -0400, Wan Jiabing wrote:
> Fix following checkincludes.pl warning:
> ./net/netfilter/nft_payload.c: linux/ip.h is included more than once.

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-08 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-02  9:13 [PATCH] netfilter: nft_payload: Remove duplicated include in nft_payload.c Wan Jiabing
2021-11-08 10:28 ` Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.