From owner-freebsd-bugs Thu Jun 10 22:40: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9F5B71534F for ; Thu, 10 Jun 1999 22:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA29284; Thu, 10 Jun 1999 22:40:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from lion.butya.kz (butya-gw.butya.kz [194.87.112.252]) by hub.freebsd.org (Postfix) with ESMTP id 779D215332 for ; Thu, 10 Jun 1999 22:39:02 -0700 (PDT) (envelope-from bp@butya.kz) Received: from bp by lion.butya.kz with local (Exim 2.12 #1) id 10sK1k-000IdE-00 for FreeBSD-gnats-submit@freebsd.org; Fri, 11 Jun 1999 12:38:52 +0700 Message-Id: Date: Fri, 11 Jun 1999 12:38:52 +0700 From: bp@butya.kz Reply-To: bp@butya.kz To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/12126: Bug in if_ex driver Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12126 >Category: kern >Synopsis: Missing ioctl handler for IPX address family in if_ex driver >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 10 22:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Boris Popov >Release: FreeBSD 3.2-STABLE i386 >Organization: >Environment: FreeBSD 3.2-STABLE, FreeBSD 4.0 >Description: In sys/i386/isa/if_ex.c file ex_ioctl() subroutine doesn't handle ioctl request for AF_IPX address family, which makes it impossible to use this card for IPX protocol. >How-To-Repeat: ifconfig ex0 ipx 0x200 >Fix: --- if_ex.c.org Tue Nov 3 17:56:21 1998 +++ if_ex.c Thu Apr 22 09:48:30 1999 @@ -786,20 +786,10 @@ arp_ifinit((struct arpcom *) ifp, ifa); break; #endif -#ifdef IPX_NOTYET +#ifdef IPX case AF_IPX: - { - register struct ipx_addr *ina = &(IA_SIPX(ifa)->sipx_addr); - - if (ipx_nullhost(*ina)) - ina->x_host = *(union ipx_host *) (sc->arpcom.ac_enaddr); - else { - ifp->if_flags &= ~IFF_RUNNING; - bcopy((caddr_t) ina->x_host.c_host, (caddr_t) sc->arpcom.ac_enaddr, sizeof(sc->arpcom.ac_enaddr)); - } - ex_init(sc); + error = ether_ioctl(ifp, cmd, data); break; - } #endif #ifdef NS case AF_NS: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message