Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2101582ybl; Thu, 30 Jan 2020 11:22:54 -0800 (PST) X-Google-Smtp-Source: APXvYqwQNiCDyje9lHWPkm0oWFhJ8EfWXl+X8+veuJG6I21k1nYshxR79ViJR545lrFhuDTBtrJp X-Received: by 2002:aca:2416:: with SMTP id n22mr3770583oic.169.1580412174330; Thu, 30 Jan 2020 11:22:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580412174; cv=none; d=google.com; s=arc-20160816; b=QcW952VDvYKv1ZmkHmnlwSH9uyE4DELKoY0IUIM7bAFbYnPvUKS5QGzRJZHHHiw/9w E1zUxCIAg2SrUkkPI+uM7/tIcjup8VYR7OnGGPbrd3IcdHkH8rxb7QhE0tWJxCk52A1F ZPcGgSkZzfkkDYJp+BbIuTGUgtWccZSOJwuNXTMMmW/7TnjVjXo4umga8DJm2oxizEzb H+/t74XXhkWs4bViCVr4M0hu5RNKzciqmbzcjVA4sJqOzyfLhoYrY6UWoSWFR0YzqdFb OexpiTC0dHSRvOiBg/AMOGs/OxJJhqjFYL/5fIsuMuNJnMFOCddpsqRj5bxGpAB1yeLP xiNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=SUtSFdT+kYmI8Bo8IponmuE6vaTB5AiudIIi8xyUiPM=; b=XO1bDWZrZLflPJkUsXXKC1oIGsV5u4vVEwamgm5gfFMXFuEd8sMXe9BZF9S+lIr2kC +C7chk/eAQNxjeHXDn7jDemHW7lyfVE+1flpbt8Y8342w8RVJi7DiOE91rgOn3dbLSii 46Tnf0bUYDaCUUzMPTl+zkd98fz0/I4774m1xChQw+A/1va5neV8FlB0NL3xjXNDxI5U u6Ovd5Ccitrf0GfpdahJWwuC/yXK6YGqyXJIUSt8Nw7sd9iQHvQDgQCmJJgUgl0rAmV5 Jp2hs9s/RHQft0wHLh4+opchxi6W5OT0+5yLxDZucg7KF2FIIP4Azw1Zh+r/T8E0E41u Uy0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fg92RMsb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w7si3711214otq.250.2020.01.30.11.22.41; Thu, 30 Jan 2020 11:22:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fg92RMsb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727677AbgA3TKi (ORCPT + 99 others); Thu, 30 Jan 2020 14:10:38 -0500 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:54298 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727681AbgA3TKh (ORCPT ); Thu, 30 Jan 2020 14:10:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580411436; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=SUtSFdT+kYmI8Bo8IponmuE6vaTB5AiudIIi8xyUiPM=; b=fg92RMsbHHLhjkNsqU9PHB9FpdCywI6BBx8dTxZp1OJHIiwh6oVcoUthiHpF3gau63jCbx vLmaoH/SHMC5CYZHkd1/z+ma7bYzwVlDniAz7aim+dUxJWKMvnee1Qi6Eh/8hcQoXb5R3J udS41RkK4PRZt7zadQowf8ffb9EFdg8= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-317-GdbeM0BeOZ6bd0cr4U4A9w-1; Thu, 30 Jan 2020 14:10:34 -0500 X-MC-Unique: GdbeM0BeOZ6bd0cr4U4A9w-1 Received: by mail-wm1-f70.google.com with SMTP id m18so1285487wmc.4 for ; Thu, 30 Jan 2020 11:10:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SUtSFdT+kYmI8Bo8IponmuE6vaTB5AiudIIi8xyUiPM=; b=sRlKxMPT+fKfBPgp5EWneUfNDzwjWHRn8/xLqDH7uiDNnn9Uqrgwy7IPesY7hiOgoZ ki2vvq9F8quXxbdlpMwLpUbDIw5RJWKYJNUkqGSvv7afI9vI8AKrsnCHJ/dIDIG3JRK/ vjEsc7yfcXs3opvEKea4qbJUzjgfZpYaJOB65QtsGrZ8HLHAqw4kL1m9bgFSs3VCQJb2 30IX2zU6EN/1U82bMbvBinDPRKznehUZEstB2LnsUzaMgDi3bpepvn4rHJCNSGfFC3iD fTiOeKA4hks/q+HNvwWiBTKg1fKHmjvL2dHyw1D90DaIHdpVm78qJlfm/nxe4sSBzKaO hqhQ== X-Gm-Message-State: APjAAAUDageyKP84B3LzY4B5oQfcVpBIXKdz/A7Kk6ZPcPCgPCcdYEOe ywiAzeJ3fk5M0DtsxBSDENlFVmwI0WW0skKhfsRXWkIgitap9BXtllHZ1CN17T0VCEKCUGEsUhS Kzt6q7bVR5OA8rbMMsV9gJicE X-Received: by 2002:a5d:6708:: with SMTP id o8mr7467577wru.296.1580411433136; Thu, 30 Jan 2020 11:10:33 -0800 (PST) X-Received: by 2002:a5d:6708:: with SMTP id o8mr7467555wru.296.1580411432866; Thu, 30 Jan 2020 11:10:32 -0800 (PST) Received: from turbo.redhat.com (net-2-36-173-233.cust.vodafonedsl.it. [2.36.173.233]) by smtp.gmail.com with ESMTPSA id s139sm7794275wme.35.2020.01.30.11.10.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jan 2020 11:10:32 -0800 (PST) From: Matteo Croce To: netdev@vger.kernel.org, linux-doc@vger.kernel.org Cc: "David S. Miller" , Pablo Neira Ayuso , Florian Westphal , linux-kernel@vger.kernel.org Subject: [PATCH net] netfilter: nf_flowtable: fix documentation Date: Thu, 30 Jan 2020 20:10:19 +0100 Message-Id: <20200130191019.19440-1-mcroce@redhat.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In the flowtable documentation there is a missing semicolon, the command as is would give this error: nftables.conf:5:27-33: Error: syntax error, unexpected devices, expecting newline or semicolon hook ingress priority 0 devices = { br0, pppoe-data }; ^^^^^^^ nftables.conf:4:12-13: Error: invalid hook (null) flowtable ft { ^^ Fixes: 19b351f16fd9 ("netfilter: add flowtable documentation") Signed-off-by: Matteo Croce --- Documentation/networking/nf_flowtable.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/networking/nf_flowtable.txt b/Documentation/networking/nf_flowtable.txt index ca2136c76042..0bf32d1121be 100644 --- a/Documentation/networking/nf_flowtable.txt +++ b/Documentation/networking/nf_flowtable.txt @@ -76,7 +76,7 @@ flowtable and add one rule to your forward chain. table inet x { flowtable f { - hook ingress priority 0 devices = { eth0, eth1 }; + hook ingress priority 0; devices = { eth0, eth1 }; } chain y { type filter hook forward priority 0; policy accept; -- 2.24.1