Subject: kern/4435: IP filter LKM broken
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 11/06/1997 00:46:49
>Number: 4435
>Category: kern
>Synopsis: IP filter LKM broken
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 5 15:50:01 1997
>Last-Modified:
>Originator: Matthias Scheler
>Organization:
Mario Kemper Maintenance Project
>Release: 971103
>Environment:
System: NetBSD lyssa 1.3_ALPHA NetBSD 1.3_ALPHA (LYSSA) #0: Tue Nov 4 20:54:31 MET 1997 tron@lyssa:/src/src/sys/arch/i386/compile/LYSSA i386
>Description:
After the integration of IP Filter 3.2 the lkm can't be linked any more
because it calls iplattach() instead of ipl_enable().
>How-To-Repeat:
Try to load "/usr/lkm/if_ipl.o" compiled from IP Filter 3.2 sources.
>Fix:
*** src/sys/lkm/netinet/if_ipl/mln_ipl.c.orig Thu Oct 30 14:07:10 1997
--- src/sys/lkm/netinet/if_ipl/mln_ipl.c Thu Nov 6 00:38:14 1997
*************** static int ipl_load()
*** 220,226 ****
*/
(void)ipl_remove();
! error = iplattach();
if (error)
return error;
--- 220,226 ----
*/
(void)ipl_remove();
! error = ipl_enable();
if (error)
return error;
>Audit-Trail:
>Unformatted: