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 - 23:52:48 EDT

  • Next message: Ingo Molnar: "Re: [patch] balanced highmem subsystem under pre7-9"

    >From summer@OS2.ami.com.au Fri May 12 23:06:19 2000
    Return-Path: <summer@os2.ami.com.au>
    X-Received: from localhost (IDENT:root@localhost [127.0.0.1])
            by emu.os2.ami.com.au (8.9.0/8.9.0) with ESMTP id XAA05245
            for <listreader@possum>; Fri, 12 May 2000 23:06:17 +0800
    X-Received: from os2.ami.com.au
            by localhost with POP3 (fetchmail-5.3.8)
            for listreader@possum (single-drop); Fri, 12 May 2000 23:06:17 +0800 (WST)
    X-Received: (from summer@localhost)
            by os2.ami.com.au (8.9.1/8.9.0) id MAA01776
            for lister@localhost; Fri, 12 May 2000 12:02:01 +0800
    X-Received: from samba.anu.edu.au (samba.anu.edu.au [150.203.164.44])
            by os2.ami.com.au (8.9.1/8.9.0) with ESMTP id MAA01771
            for <summer@os2.ami.com.au>; Fri, 12 May 2000 12:01:59 +0800
    X-Received: from vger.rutgers.edu ([128.6.190.2]:32372 "EHLO vger.rutgers.edu")
            by samba.org with ESMTP id <S13092736AbQELEBt>;
            Fri, 12 May 2000 14:01:49 +1000
    X-Received: by vger.rutgers.edu via listexpand id <S155236AbQELDr5>;
            Thu, 11 May 2000 23:47:57 -0400
    X-Received: by vger.rutgers.edu id <S155277AbQELDoq>;
            Thu, 11 May 2000 23:44:46 -0400
    X-Received: from freya.yggdrasil.com ([209.249.10.20]:1304 "EHLO
            freya.yggdrasil.com") by vger.rutgers.edu with ESMTP
            id <S155361AbQELDle>; Thu, 11 May 2000 23:41:34 -0400
    X-Received: from adam.yggdrasil.com (adam.yggdrasil.com [209.249.10.6])
            by freya.yggdrasil.com (8.9.3/8.9.0) with ESMTP id VAA29585;
            Thu, 11 May 2000 21:13:32 -0700
    X-Received: (from adam@localhost)
            by adam.yggdrasil.com (8.9.3/8.9.3) id UAA02604;
            Thu, 11 May 2000 20:52:48 -0700
    Precedence: bulk
    X-Loop: majordomo@vger.rutgers.edu
    X-Orcpt: rfc822;linux-kernel-outgoing-dig
    X-UIDL: b434a5bf74742878e88be4324920448f

            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/

    -
    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 : Sat May 13 2000 - 11:06:55 EDT