Skip to contentSkip to conversation

netfilter: udplite: Remove duplicated udplite4/6 declaration

PATCH Applied [email protected] 2 participants 2 messages Apr 5, 2017 – Apr 8, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 netfilter: udplite: Remove duplicated udplite4/6 declaration

From: Gao Feng <[email protected]>

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

---
v2: Remove the duplicated declaration in ipv6, per Gao Feng
v1: initial version

 include/net/netfilter/ipv4/nf_conntrack_ipv4.h | 1 -
 include/net/netfilter/ipv6/nf_conntrack_ipv6.h | 1 -
 2 files changed, 2 deletions(-)
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;
include/net/netfilter/ipv6/nf_conntrack_ipv6.h +0 -1
index c59b824..eaea968 100644
@@ -5,7 +5,6 @@
 
 extern struct nf_conntrack_l4proto nf_conntrack_l4proto_tcp6;
 extern struct nf_conntrack_l4proto nf_conntrack_l4proto_udp6;
-extern struct nf_conntrack_l4proto nf_conntrack_l4proto_udplite6;
 extern struct nf_conntrack_l4proto nf_conntrack_l4proto_icmpv6;
 #ifdef CONFIG_NF_CT_PROTO_DCCP
 extern struct nf_conntrack_l4proto nf_conntrack_l4proto_dccp6;
Signature · 1 line
1.9.1
maintainer Applied
#1 lore raw
Quoted 5 lines · On Wed, Apr 05, 2017 at 09:57:04AM +0800, [email protected] wrote:

From: Gao Feng <[email protected]>

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

Applied.