Re: iptables -> can't initialize iptables table `filter': Bad file descriptor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Salatiel Filho wrote:
On 12/4/07, Patrick McHardy <kaber@xxxxxxxxx> wrote:

Salatiel, does this patch fix the problem?

Index: libiptc/libiptc.c
===================================================================
--- libiptc/libiptc.c   (Revision 7130)
+++ libiptc/libiptc.c   (Arbeitskopie)
@@ -866,10 +866,6 @@
        CHECK(h);
        return h;
 error:
-       if (--sockfd_use == 0) {
-               close(sockfd);
-               sockfd = -1;
-       }
        TC_FREE(&h);
        return NULL;
 }



I tried the patch but it didn`t work.

~# iptables --version [patched now]
iptables v1.3.8

~# iptables -L
iptables v1.3.8: can't initialize iptables table `filter': Invalid argument
Perhaps iptables or your kernel needs to be upgraded.


Could you send another strace please?
-
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux