From patchwork Thu Jun 2 16:18:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Dumazet X-Patchwork-Id: 12867984 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF273C43334 for ; Thu, 2 Jun 2022 16:19:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236921AbiFBQTH (ORCPT ); Thu, 2 Jun 2022 12:19:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236857AbiFBQTG (ORCPT ); Thu, 2 Jun 2022 12:19:06 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7547466AE2 for ; Thu, 2 Jun 2022 09:19:05 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id o17so4907725pla.6 for ; Thu, 02 Jun 2022 09:19:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=v7haQdok9coGoBH/EHypawu9uqZLEMnEJgP66s9Q60I=; b=CQK+hsqS4vLpYpgAptw5ioqzbrtyt8l5SOIQYZJBdFLvCgd4I/JVHBa3y29wvwRLxW B805u0CyEWeLuI9uIu3vH1PI468ElW5EX2sttHDZVM/uOm+dhoCHuuleFIJbFlvK1Mpu xohU40qoWmlQvC30QJYg3awDYU6lu7nFXCLwq+RBUkiWP5Ags1TM9wVGeVKm0XzgU4F1 M+ZLq2jgKupgFgQyY5nJS2WsLR7/a1Pg1/xsElgb7aQqH2iKbEjK5vDgSxa1qLaibViw BTP7ODfbcYb/tr3zCMjyaGp5uWEjF4h30u9isPsApYOrgAwuyfT+jPS0SYXMKtcE+vfP YcPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=v7haQdok9coGoBH/EHypawu9uqZLEMnEJgP66s9Q60I=; b=RbyKM7T3MOgDV7N7qn8vr1lKAz0/ZwjTVmwDk2tPc61FSBDyvV4xakegtXKt8/a6+H Cz9t3tRrquvLxW/pCcGwZ+p5+yeCe86kNb69d40VvO4kq0Sk3rYKUoF2DRYqbONZTirL hkaWR9ok1SWFxxdADcm1CrManMlYCGA8H2oYsf7iAzsLD4Lr2NoYdZucVmofMpUDmA9e Bym3mIoxVWDDTOtWMjmKpxuVp7eZadux4Q+Urr8HkQNiG7T3+iuz0umezkyEbclBmPkC lWot5tshaadRhPRiqBlJjK6Sjkd2AVoU6MClyryVXeZfOk5nA0kM+Yk92fGpt2lDmoQW NIiA== X-Gm-Message-State: AOAM532YVhF1ykrUgKbse0HgVIWtSvevAlDJUy0d5MDP2lSnHLgsoL3O QUEY5ZAfqsjbDh6IWhV9+6g= X-Google-Smtp-Source: ABdhPJxJY3cwNwAD39WreA6COGbrBESyxLkjp6O864VSUtjcboU87avq5sIjNW47HwlENyIOsP79qg== X-Received: by 2002:a17:90b:4a8c:b0:1e2:f378:631d with SMTP id lp12-20020a17090b4a8c00b001e2f378631dmr6058116pjb.58.1654186745035; Thu, 02 Jun 2022 09:19:05 -0700 (PDT) Received: from edumazet1.svl.corp.google.com ([2620:15c:2c4:201:1ff3:6bf6:224:48f2]) by smtp.gmail.com with ESMTPSA id u25-20020a62ed19000000b00518895f0dabsm3751072pfh.59.2022.06.02.09.19.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jun 2022 09:19:04 -0700 (PDT) From: Eric Dumazet To: "David S . Miller" , Jakub Kicinski , Paolo Abeni Cc: netdev , Willem de Bruijn , Eric Dumazet , Eric Dumazet Subject: [PATCH v2 net 1/3] net: CONFIG_DEBUG_NET depends on CONFIG_NET Date: Thu, 2 Jun 2022 09:18:57 -0700 Message-Id: <20220602161859.2546399-2-eric.dumazet@gmail.com> X-Mailer: git-send-email 2.36.1.255.ge46751e96f-goog In-Reply-To: <20220602161859.2546399-1-eric.dumazet@gmail.com> References: <20220602161859.2546399-1-eric.dumazet@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Eric Dumazet It makes little sense to debug networking stacks if networking is not compiled in. Signed-off-by: Eric Dumazet --- net/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/Kconfig.debug b/net/Kconfig.debug index a5781cf63b16b32e5360df1ca26a753b6505d81f..e6ae11cc2fb7cb90e6a0c063d2135ee1839c3ead 100644 --- a/net/Kconfig.debug +++ b/net/Kconfig.debug @@ -20,7 +20,7 @@ config NET_NS_REFCNT_TRACKER config DEBUG_NET bool "Add generic networking debug" - depends on DEBUG_KERNEL + depends on DEBUG_KERNEL && NET help Enable extra sanity checks in networking. This is mostly used by fuzzers, but is safe to select.