Patch: linux-2.3.99pre7/net/ipv4/netfilter/ipt_owner.c referenced undefined symbol "fcheck_task"

From: Adam J. Richter (adam@yggdrasil.com)
Date: Thu May 11 2000 - 22:52:48 EST


        linux-2.3.99pre7 replaced fcheck_task with fcheck_files, but
net/ipv4/netfilter/ipt_owner.c was not updated to reflect that, so it
get undefined references to fcheck_task. Here is a patch to fix
the problem.

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."
------------------------------CUT HERE------------------------------

--- linux-2.3.99-pre7/net/ipv4/netfilter/ipt_owner.c Thu Apr 27 15:43:15 2000
+++ linux/net/ipv4/netfilter/ipt_owner.c Thu May 11 20:48:22 2000
@@ -21,7 +21,7 @@
         p = find_task_by_pid(pid);
         if(p && p->files) {
                 for (i=0; i < p->files->max_fds; i++) {
- if (fcheck_task(p, i) == skb->sk->socket->file) {
+ if (fcheck_files(p->files, i) == skb->sk->socket->file) {
                                 read_unlock(&tasklist_lock);
                                 return 1;
                         }
@@ -43,7 +43,7 @@
                         continue;
 
                 for (i=0; i < p->files->max_fds; i++) {
- if (fcheck_task(p, i) == skb->sk->socket->file) {
+ if (fcheck_files(p->files, i) == skb->sk->socket->file) {
                                 found = 1;
                                 break;
                         }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:19 EST