Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754071AbdGCKaX (ORCPT ); Mon, 3 Jul 2017 06:30:23 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33059 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753173AbdGCKaV (ORCPT ); Mon, 3 Jul 2017 06:30:21 -0400 Message-ID: <1499077817.1462.8.camel@edumazet-glaptop3.roam.corp.google.com> Subject: Re: [PATCH 00/17] v3 net generic subsystem refcount conversions From: Eric Dumazet To: "Reshetova, Elena" Cc: "netdev@vger.kernel.org" , "bridge@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , "kuznet@ms2.inr.ac.ru" , "jmorris@namei.org" , "kaber@trash.net" , "stephen@networkplumber.org" , "peterz@infradead.org" , "keescook@chromium.org" Date: Mon, 03 Jul 2017 03:30:17 -0700 In-Reply-To: <2236FBA76BA1254E88B949DDB74E612B6FF2029D@IRSMSX102.ger.corp.intel.com> References: <1498817290-3368-1-git-send-email-elena.reshetova@intel.com> <1499074136.1462.0.camel@edumazet-glaptop3.roam.corp.google.com> <2236FBA76BA1254E88B949DDB74E612B6FF2029D@IRSMSX102.ger.corp.intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 708 Lines: 21 On Mon, 2017-07-03 at 09:57 +0000, Reshetova, Elena wrote: > Thank you very much for the report! This is an underflow (dec/sub from > zero) that is reported by WARNING. > I guess it is unlikely that actual code underflows, so the most > probable cause is that it attempted to do refcount_inc/add() from > zero, but then failed. > However in that case you should have seen another warning on > refcount_inc() somewhere earlier. That one is actually the one I need > to see to track the root cause. > Could you tell me how do you arrive to the below output? Boot in what > config/etc. > I can try to reproduce to debug further. I sent this fix : https://patchwork.ozlabs.org/patch/783389/ Thanks.