Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2003 09:30:22 -0800 (PST)
From:      Yar Tikhiy <yar@FreeBSD.ORG>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/47920: if ng_pppoe switches to nonstandard mode it stays in it forever
Message-ID:  <200312181730.hBIHUMSl051604@freefall.freebsd.org>

index | next in thread | raw e-mail

The following reply was made to PR kern/47920; it has been noted by GNATS.

From: Yar Tikhiy <yar@FreeBSD.ORG>
To: Gleb Smirnoff <glebius@cell.sick.ru>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/47920: if ng_pppoe switches to nonstandard mode it stays in it forever
Date: Thu, 18 Dec 2003 20:22:04 +0300

 Mime-Version: 1.0
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 In-Reply-To: <20031218100848.GA67923@cell.sick.ru>
 User-Agent: Mutt/1.5.3i
 
 On Thu, Dec 18, 2003 at 01:08:48PM +0300, Gleb Smirnoff wrote:
 > On Wed, Dec 17, 2003 at 08:42:34PM +0300, Yar Tikhiy wrote:
 > Y> Would you mind testing the below version of your patch, revised.
 > Y> Please pay attention to its points:
 > Y> a) sanity check values passed through sysctl;
 > Y> b) avoid double setting nonstandard mode;
 > Y> c) format source according to style(9);
 > Y> d) initialize pppoe_mode for clarity since it's no longer
 > Y>    just a boolean trigger.
 > 
 > I have tested it on STABLE. It works OK. I have also asked PR's
 > originator to test it.
 
 Thanks!  By the way, don't you think that the default value for the
 sysctl controlling pppoe mode should be -1?  I've just read this PR
 once more and realized that the current default of 0 is *really dangerous*
 because a spurious non-standard PPPoE frame can plague an entire network!
 
 -- 
 Yar


help

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