From wilko@yedi.iaf.nl  Wed Apr  1 09:54:51 1998
Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12])
          by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA15558
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 1 Apr 1998 09:54:50 -0800 (PST)
          (envelope-from wilko@yedi.iaf.nl)
Received: by uni4nn.gn.iaf.nl with UUCP id AA06437
  (5.67b/IDA-1.5 for FreeBSD-gnats-submit@freebsd.org); Wed, 1 Apr 1998 19:54:39 +0200
Received: (from wilko@localhost) by yedi.iaf.nl (8.8.7/8.6.12) id TAA02740; Wed, 1 Apr 1998 19:50:27 +0200 (MET DST)
Message-Id: <199804011750.TAA02740@yedi.iaf.nl>
Date: Wed, 1 Apr 1998 19:50:27 +0200 (MET DST)
From: Wilko Bulte <wilko@yedi.iaf.nl>
Reply-To: wilko@FreeBSD.ORG
To: FreeBSD-gnats-submit@freebsd.org
Subject: kernel patches for netatalk break FDDI support
X-Send-Pr-Version: 3.2

>Number:         6192
>Category:       kern
>Synopsis:       kernel patches for netatalk break FDDI support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr  1 10:00:01 PST 1998
>Closed-Date:    Tue Jul 28 11:43:01 PDT 1998
>Last-Modified:  Tue Jul 28 11:44:51 PDT 1998
>Originator:     Wilko Bulte
>Release:        FreeBSD 2.2.5-RELEASE i386
>Organization:
Private FreeBSD site
>Environment:

	Asus T2P4 / P-100 / 48Mb
	Digital DEFPA PCI-FDDI adapter

>Description:

	The post-release patches for 2.2.5R to enable the use of netatalk
	(patches to be found on www.freebsd.org) break kernel support of
	FDDI based networks.

>How-To-Repeat:

	Any kernel with:
		device fpa
		pseudo-device fddi

	results in fatal compile time errors during kernel build.

	According to jfieber the same problem is evident on 2.2.6R.

>Fix:
	
diff if_fddisubr.c.orig if_fddisubr.c

230a231
>            * see comments in if_ethersubr.c XXX
232,234c233,234
<           if ((aa = (struct at_ifaddr *)at_ifawithnet(
<                       (struct sockaddr_at *)dst, ifp->if_addrlist))
<               == 0)
---
>           aa = (struct at_ifaddr *) at_ifawithnet((struct sockaddr_at
*)dst);
>           if ( aa == NULL ) {
235a236
>           }


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: stb 
State-Changed-When: Tue Jul 28 11:43:01 PDT 1998 
State-Changed-Why:  
Fixed by jkh in src/sys/net/if_fddisubr.c 1.9.2.5 (included in 
RELENG_2_2_7_RELEASE). 
>Unformatted:
