Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=99fa5f53975b4c09beb5d11ed7418fee2dfb43e3
Commit:     99fa5f53975b4c09beb5d11ed7418fee2dfb43e3
Parent:     b0a6363c2418c93f25dd30b8ffcd3fdd4ce23ad6
Author:     Patrick McHardy <[EMAIL PROTECTED]>
AuthorDate: Thu Jan 31 04:10:40 2008 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Thu Jan 31 19:27:49 2008 -0800

    [NETFILTER]: nf_conntrack_ipv6: fix sparse warnings
    
      CHECK   net/ipv6/netfilter/nf_conntrack_reasm.c
      net/ipv6/netfilter/nf_conntrack_reasm.c:77:18: warning: symbol 
'nf_ct_ipv6_sysctl_table' was not declared. Should it be static?
      net/ipv6/netfilter/nf_conntrack_reasm.c:586:16: warning: symbol 
'nf_ct_frag6_gather' was not declared. Should it be static?
      net/ipv6/netfilter/nf_conntrack_reasm.c:662:6: warning: symbol 
'nf_ct_frag6_output' was not declared. Should it be static?
      net/ipv6/netfilter/nf_conntrack_reasm.c:683:5: warning: symbol 
'nf_ct_frag6_kfree_frags' was not declared. Should it be static?
      net/ipv6/netfilter/nf_conntrack_reasm.c:698:5: warning: symbol 
'nf_ct_frag6_init' was not declared. Should it be static?
      net/ipv6/netfilter/nf_conntrack_reasm.c:717:6: warning: symbol 
'nf_ct_frag6_cleanup' was not declared. Should it be static?
    
    Based on patch by Stephen Hemminger with suggestions by Yasuyuki KOZAKAI.
    
    Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 net/ipv6/netfilter/nf_conntrack_reasm.c |   16 +---------------
 1 files changed, 1 insertions(+), 15 deletions(-)

diff --git a/net/ipv6/netfilter/nf_conntrack_reasm.c 
b/net/ipv6/netfilter/nf_conntrack_reasm.c
index 022da6c..2a0d698 100644
--- a/net/ipv6/netfilter/nf_conntrack_reasm.c
+++ b/net/ipv6/netfilter/nf_conntrack_reasm.c
@@ -39,6 +39,7 @@
 #include <net/rawv6.h>
 #include <net/ndisc.h>
 #include <net/addrconf.h>
+#include <net/netfilter/ipv6/nf_conntrack_ipv6.h>
 #include <linux/sysctl.h>
 #include <linux/netfilter.h>
 #include <linux/netfilter_ipv6.h>
@@ -680,21 +681,6 @@ void nf_ct_frag6_output(unsigned int hooknum, struct 
sk_buff *skb,
        nf_conntrack_put_reasm(skb);
 }
 
-int nf_ct_frag6_kfree_frags(struct sk_buff *skb)
-{
-       struct sk_buff *s, *s2;
-
-       for (s = NFCT_FRAG6_CB(skb)->orig; s; s = s2) {
-
-               s2 = s->next;
-               kfree_skb(s);
-       }
-
-       kfree_skb(skb);
-
-       return 0;
-}
-
 int nf_ct_frag6_init(void)
 {
        nf_frags.hashfn = nf_hashfn;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to