From patchwork Thu May 19 07:54:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Alin_N=C4=83stac?= X-Patchwork-Id: 623874 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (caladan.dune.hu [78.24.191.180]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3r9Ncr2gRzz9ssM for ; Thu, 19 May 2016 17:54:20 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=P4YnNWUk; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 4F985B91536; Thu, 19 May 2016 09:54:13 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP; Thu, 19 May 2016 09:54:13 +0200 (CEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 3F6B6B9152D for ; Thu, 19 May 2016 09:54:12 +0200 (CEST) X-policyd-weight: using cached result; rate: -7 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Thu, 19 May 2016 09:54:11 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id n129so18795561wmn.1 for ; Thu, 19 May 2016 00:54:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=DyGVqqh9ckF6Vh6Aln3umyUBbsnap6KMER+6Uxan87A=; b=P4YnNWUkdGyfcmkT7JANyMAJlrcuoL/FKKdao1HGeEHJk1gY/Z/YBmhUVD9AA1UVZ7 +gdgOiy05cj4w2KRGk/MrRGFEAjvcQYU3GekUAMtNLE3Ziayd1U1OMpfCUarhXzyHYC5 gfG5rjwxuXXJsYzgM1+/5nFaW25B4yRQljJDEkj/v+0x72nSl9pE/z1CBOqzikhQAU1b Tl7YMDh1l/twVqRr6Ad0eUKDPKaq8lNtNdN3ahrTjgICZ40ViMMgvSOQIGRznoMSDJEr R5EajG14kqdKuRjnHN6Wzq8PVjnqJiLZUltm3jdZ5BBangZ0jB9Xv7qey6Mgpy5UcznN roLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=DyGVqqh9ckF6Vh6Aln3umyUBbsnap6KMER+6Uxan87A=; b=bPCQarWhLk5Yn5DLIYDBeyndAK805zmC8+2LliQAboHiKukWC4Y2lCJBvWUXG80l/L KT40Fl7X66Xu+gJcbKm/bM9nrYInIFz+8fOSl0ZeO7AIw1hN4BwUGQQxAw4j+thP++uy HGKkEMkqma4MUTIvnQYPLR6W6gVsxROyc6sDBItjpPkK38elJEbN1HFrGf0qOaHbXk+b zAhRhDTg/yPx6jaWWq1BqmW0nO61/SQyoswiK6R4YJoJtZ6EEafkjUNdU2l81yn6nT2u lkgrw8fNxVFAvBAWb9skJYNlqxSa/dQm03y3ofj0PCbpgRNGTWi/RbJvQgVGhpabogLs hKBg== X-Gm-Message-State: AOPr4FWP0qSVpvaXfX9Pl6kojgUjFQLPuBckVa/e4d9KlJB4qMwdQQPBnCJd9fPhajZJdg== X-Received: by 10.194.241.227 with SMTP id wl3mr11917386wjc.168.1463644451248; Thu, 19 May 2016 00:54:11 -0700 (PDT) Received: from cplx250.edegem.eu.thmulti.com (14.125.146.82.ipv4.evonet.be. [82.146.125.14]) by smtp.gmail.com with ESMTPSA id az2sm12943746wjc.6.2016.05.19.00.54.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 May 2016 00:54:10 -0700 (PDT) From: Alin Nastac To: openwrt-devel@lists.openwrt.org, lede-dev@lists.infradead.org Date: Thu, 19 May 2016 09:54:06 +0200 Message-Id: <1463644446-4279-1-git-send-email-alin.nastac@gmail.com> X-Mailer: git-send-email 1.7.12.4 Subject: [OpenWrt-Devel] [PATCH] conntrack: enable support for netfilter conntrack zones X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Storage of such zones is provided by a nf_ct_ext struct, hence conntrack memory foot print will not be increased if zones are not used. --- package/kernel/linux/modules/netfilter.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/kernel/linux/modules/netfilter.mk b/package/kernel/linux/modules/netfilter.mk index 3b623e4..4d9c116 100644 --- a/package/kernel/linux/modules/netfilter.mk +++ b/package/kernel/linux/modules/netfilter.mk @@ -68,6 +68,7 @@ define KernelPackage/nf-conntrack KCONFIG:= \ CONFIG_NETFILTER=y \ CONFIG_NETFILTER_ADVANCED=y \ + CONFIG_NF_CONNTRACK_ZONES=y \ $(KCONFIG_NF_CONNTRACK) FILES:=$(foreach mod,$(NF_CONNTRACK-m),$(LINUX_DIR)/net/$(mod).ko) AUTOLOAD:=$(call AutoProbe,$(notdir $(NF_CONNTRACK-m)))