Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2011 09:25:02 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Sami Halabi <sodynet1@gmail.com>
Cc:        freebsd-net@FreeBSD.org
Subject:   Re: ng_mppc_decompress: too many (4094) packets dropped, disabling node
Message-ID:  <20111227052502.GL8035@FreeBSD.org>
In-Reply-To: <CAEW%2Bogbn6jizawgLCHCcTLMSmdjCKFvPkJa33jrJ5AAnjww=fg@mail.gmail.com>
References:  <CAEW%2Bogbn6jizawgLCHCcTLMSmdjCKFvPkJa33jrJ5AAnjww=fg@mail.gmail.com>

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

--bp/iNruPH9dso1Pn
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline

On Thu, Dec 15, 2011 at 09:51:09PM +0200, Sami Halabi wrote:
S> I've searched the net andfound basicly 2 threads talking about the message:
S> 
S> ng_mppc_decompress: too many (4094) packets dropped, disabling node

The 4094 value both in your report and in the old PR look suspicious.

Can you please try the attached patch and report which values are logged
now.

-- 
Totus tuus, Glebius.

--bp/iNruPH9dso1Pn
Content-Type: text/x-diff; charset=koi8-r
Content-Disposition: attachment; filename="ng_mppc.c.diff"

Index: ng_mppc.c
===================================================================
--- ng_mppc.c	(revision 228838)
+++ ng_mppc.c	(working copy)
@@ -647,9 +647,9 @@
 			rekey = ((d->cfg.bits & MPPE_STATELESS) != 0) ?
 			    numLost : (numLost / (MPPE_UPDATE_MASK + 1));
 			if (rekey > MPPE_MAX_REKEY) {
-				log(LOG_ERR, "%s: too many (%d) packets"
+				log(LOG_ERR, "%s: too many (%u %u) packets"
 				    " dropped, disabling node %p!",
-				    __func__, numLost, node);
+				    __func__, cc, d->cc, node);
 				priv->recv.cfg.enable = 0;
 				goto failed;
 			}

--bp/iNruPH9dso1Pn--



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