Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jul 1997 04:06:02 +0900 (JST)
From:      Jun-ichiro ITOH <itojun@itojun.org>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        itojun@csl.sony.co.jp
Subject:   kern/4117: if_spppsubr.c: problem talking with cisco via cisco hdlc
Message-ID:  <199707181906.EAA05566@coconut.itojun.org>
Resent-Message-ID: <199707181910.MAA10606@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4117
>Category:       kern
>Synopsis:       if_spppsubr.c: problem talking with cisco via cisco hdlc
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 18 12:10:03 PDT 1997
>Last-Modified:
>Originator:     Jun-ichiro ITOH
>Organization:
Sony CSL Inc., Tokyo, Japan
>Release:        FreeBSD 2.2.1-RELEASE i386
>Environment:

FreeBSD coconut.itojun.org 2.2.1-RELEASE FreeBSD 2.2.1-RELEASE #3: Sun Apr 20 14:28:44 JST 1997     root@coconut.itojun.org:/usr/src/sys/compile/COCONUT  i386

	the bug still remains in the FreeBSD-current.

>Description:

	(this is a resend. sorry if duplicated)
	FreeBSD+riscom box can't talk with cisco router via cisco hdlc.

>How-To-Repeat:

	try to connect FreeBSD+riscom with cisco.

>Fix:

	If nobody objects it, i can commit it myself.
	
--- if_spppsubr.c-dist	Fri Jul 18 13:29:11 1997
+++ if_spppsubr.c	Fri Jul 18 13:32:37 1997
@@ -920,7 +920,7 @@
 	struct ifaddr *ifa;
 	struct ifnet *ifp = &sp->pp_if;
 
-	if (m->m_pkthdr.len != CISCO_PACKET_LEN) {
+	if (m->m_pkthdr.len < CISCO_PACKET_LEN) {
 		if (ifp->if_flags & IFF_DEBUG)
 			printf ("%s%d: invalid cisco packet length: %d bytes\n",
 				ifp->if_name, ifp->if_unit, m->m_pkthdr.len);

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707181906.EAA05566>