Skip to contentSkip to conversation

netfilter: udplite4: Remove duplicated udplite4 declaration

PATCH Superseded [email protected] 1 participant 2 messages Apr 5, 2017

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netfilter: udplite4: Remove duplicated udplite4 declaration

From: Gao Feng <[email protected]>

There are two nf_conntrack_l4proto_udp4 declarations in the head file nf_conntrack_ipv4.h. Now remove one which is not enbraced by the macro CONFIG_NF_CT_PROTO_UDPLITE.

---
 include/net/netfilter/ipv4/nf_conntrack_ipv4.h | 1 -
 1 file changed, 1 deletion(-)
include/net/netfilter/ipv4/nf_conntrack_ipv4.h +0 -1
index 6ff3281..919e4e8 100644
@@ -14,7 +14,6 @@
 
 extern struct nf_conntrack_l4proto nf_conntrack_l4proto_tcp4;
 extern struct nf_conntrack_l4proto nf_conntrack_l4proto_udp4;
-extern struct nf_conntrack_l4proto nf_conntrack_l4proto_udplite4;
 extern struct nf_conntrack_l4proto nf_conntrack_l4proto_icmp;
 #ifdef CONFIG_NF_CT_PROTO_DCCP
 extern struct nf_conntrack_l4proto nf_conntrack_l4proto_dccp4;
Signature · 1 line
1.9.1
author
#1 lore raw

Hi,

Quoted 6 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, April 5, 2017 9:23 AM
To: [email protected]; [email protected]
Cc: Gao Feng <[email protected]>
Subject: [PATCH nf-next 1/1] netfilter: udplite4: Remove duplicated

udplite4

Quoted 21 lines

declaration

From: Gao Feng <[email protected]>

There are two nf_conntrack_l4proto_udp4 declarations in the head file nf_conntrack_ipv4.h. Now remove one which is not enbraced by the macro CONFIG_NF_CT_PROTO_UDPLITE.

---
 include/net/netfilter/ipv4/nf_conntrack_ipv4.h | 1 -
 1 file changed, 1 deletion(-)
include/net/netfilter/ipv4/nf_conntrack_ipv4.h +0 -0
index 6ff3281..919e4e8 100644
@@ -14,7 +14,6 @@
 
 extern struct nf_conntrack_l4proto nf_conntrack_l4proto_tcp4;  extern
Quoted 8 lines

struct nf_conntrack_l4proto nf_conntrack_l4proto_udp4; -extern struct nf_conntrack_l4proto nf_conntrack_l4proto_udplite4; extern struct nf_conntrack_l4proto nf_conntrack_l4proto_icmp; #ifdef CONFIG_NF_CT_PROTO_DCCP extern struct nf_conntrack_l4proto nf_conntrack_l4proto_dccp4;
--
1.9.1

Sorry, please ignore this patch.
Because I find there is another duplicated declaration in IPv6 codes. So I have sent v2 patch already.

Regards
Feng