Subject: kern/2095: Bugs in mroute code
To: None <gnats-bugs@NetBSD.ORG>
From: Peter Svensson <petersv@df.lth.se>
List: netbsd-bugs
Date: 02/18/1996 14:10:20
>Number: 2095
>Category: kern
>Synopsis: Two small errors in mrouting code
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 18 08:35:02 1996
>Last-Modified:
>Originator: Peter Svensson
>Organization:
The Computer Society at Lund University and Lund Institute of Technology
>Release: 960216<NetBSD-current source date>
>Environment:
SparcStation 1, NetBSD-current
System: NetBSD piau.df.lth.se 1.1 NetBSD 1.1 (PIAU.SCSI) #0: Wed Jan 24 20:36:18 MET 1996 petersv@piau.df.lth.se:/usr/src/sys/arch/sparc/compile/PIAU.SCSI sparc
>Description:
There are two small errors in the mrouting code. One reference to a
renamed header file (mroute.h, changed to ip_mroute.h) and one reference
to an undeclared variable in code conditionally compiled in when using
mrouting in the kernel.
>How-To-Repeat:
Compile a kernel with mrouting enabled.
>Fix:
In sys/netinet/in_proto.c change the reference to "mroute.h" to
"ip_mroute.h".
In sys/netinet/raw_ip.c in function rip_ctloutput() add a conditionally
declared variable "int error" when using option MROUTE.
>Audit-Trail:
>Unformatted: