netfilter: udplite: Remove duplicated udplite4/6 declaration
Subsystems (2)
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.
Signed-off-by Gao Feng <[email protected]>
---
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
@@ -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
@@ -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
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_udp4declarations in the head file nf_conntrack_ipv4/6.h. Now remove one which is not enbraced by the macroCONFIG_NF_CT_PROTO_UDPLITE.
Applied.