Patchwork [03/84] netfilter: remove stale declaration for ip6_masked_addrcmp()

mail settings
Submitter Patrick McHardy
Date May 10, 2010, 8:17 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/52139/
State Accepted
Delegated to: David Miller
Headers show


Patrick McHardy - May 10, 2010, 8:17 p.m.
From: YOSHIFUJI Hideaki <>

Commit f2ffd9ee... ("[NETFILTER]: Move ip6_masked_addrcmp to
include/net/ipv6.h") replaced ip6_masked_addrcmp() with
ipv6_masked_addr_cmp().  Function definition went away.

Let's remove its declaration as well in header file.

Signed-off-by: YOSHIFUJI Hideaki <>
Signed-off-by: Patrick McHardy <>
 include/linux/netfilter_ipv6/ip6_tables.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)


diff --git a/include/linux/netfilter_ipv6/ip6_tables.h b/include/linux/netfilter_ipv6/ip6_tables.h
index e5ba03d..18442ff 100644
--- a/include/linux/netfilter_ipv6/ip6_tables.h
+++ b/include/linux/netfilter_ipv6/ip6_tables.h
@@ -316,10 +316,6 @@  extern int ip6t_ext_hdr(u8 nexthdr);
 extern int ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset,
 			 int target, unsigned short *fragoff);
-extern int ip6_masked_addrcmp(const struct in6_addr *addr1,
-			      const struct in6_addr *mask,
-			      const struct in6_addr *addr2);
 #define IP6T_ALIGN(s) XT_ALIGN(s)