From patchwork Sun Dec 1 22:30:07 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jamal Hadi Salim X-Patchwork-Id: 295735 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id C57342C007E for ; Mon, 2 Dec 2013 09:31:57 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752067Ab3LAWbz (ORCPT ); Sun, 1 Dec 2013 17:31:55 -0500 Received: from mail-ie0-f174.google.com ([209.85.223.174]:41761 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751457Ab3LAWbv (ORCPT ); Sun, 1 Dec 2013 17:31:51 -0500 Received: by mail-ie0-f174.google.com with SMTP id at1so19395401iec.33 for ; Sun, 01 Dec 2013 14:31:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bTAmX11MiBN7BCWGauwZmIpvke8yjyyOLyMV4KUfux0=; b=RlfakFnCBvXFHp4SLYe+idw3Yxwb9ZzcRDPiFmTK2G1BljJQBP1p7FZasGRy4ZKo0D MRRnNRSexuiXa2B2S8zvSRh8crlN/QSpQyNg3sLnr/ia4r/Qqn6BJ90wjM8FiExEdmNL iSvLSYHZioiuX4drjO1hZOE9nIeh40h6O/ax4P2Dmf+dONpI9GG9Yt2YKBR7UrolCect s/B5zbJvBBMZIzyCnvXBTYpc4MbQuSrjim9AjjR6ayA26OWbPUf7rc0XZ3DRwiilSutW VazyvyXoHTBHeGY3Ix8ORWL4rjhX0qSvsObXDRlYHeXnaID0Qi888eAMvnoG/44Z+Up/ UKWQ== X-Gm-Message-State: ALoCoQkc/RdH9/Irv77MoMecIGZrOva0ZHsXmVomP5EOS9O3ei7w+a/XOhcYp8QkEGVo1BI6mVhN X-Received: by 10.50.39.45 with SMTP id m13mr15148415igk.14.1385937110963; Sun, 01 Dec 2013 14:31:50 -0800 (PST) Received: from minipc.minipc (24-246-6-163.cable.teksavvy.com. [24.246.6.163]) by mx.google.com with ESMTPSA id t4sm32070281igm.10.2013.12.01.14.31.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Dec 2013 14:31:50 -0800 (PST) From: Jamal Hadi Salim To: davem@davemloft.net Cc: netdev@vger.kernel.org, eric.dumazet@gmail.com, alexander.h.duyck@intel.com, ebiederm@xmission.com, jhs@mojatatu.com Subject: [PATCH 2/4] Use default lookup functions. Users are free to override when needed. Date: Sun, 1 Dec 2013 17:30:07 -0500 Message-Id: <1385937009-589-3-git-send-email-jhs@mojatatu.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1385937009-589-1-git-send-email-jhs@mojatatu.com> References: <1385937009-589-1-git-send-email-jhs@mojatatu.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Jamal Hadi Salim --- net/sched/act_csum.c | 1 - net/sched/act_gact.c | 1 - net/sched/act_ipt.c | 2 -- net/sched/act_mirred.c | 1 - net/sched/act_nat.c | 1 - net/sched/act_pedit.c | 1 - net/sched/act_police.c | 1 - 7 files changed, 8 deletions(-) diff --git a/net/sched/act_csum.c b/net/sched/act_csum.c index 3a4c0ca..4225a93 100644 --- a/net/sched/act_csum.c +++ b/net/sched/act_csum.c @@ -585,7 +585,6 @@ static struct tc_action_ops act_csum_ops = { .act = tcf_csum, .dump = tcf_csum_dump, .cleanup = tcf_csum_cleanup, - .lookup = tcf_hash_search, .init = tcf_csum_init, .walk = tcf_generic_walker }; diff --git a/net/sched/act_gact.c b/net/sched/act_gact.c index fd2b3cf..15851da 100644 --- a/net/sched/act_gact.c +++ b/net/sched/act_gact.c @@ -206,7 +206,6 @@ static struct tc_action_ops act_gact_ops = { .act = tcf_gact, .dump = tcf_gact_dump, .cleanup = tcf_gact_cleanup, - .lookup = tcf_hash_search, .init = tcf_gact_init, .walk = tcf_generic_walker }; diff --git a/net/sched/act_ipt.c b/net/sched/act_ipt.c index 60d88b6..1d3e191 100644 --- a/net/sched/act_ipt.c +++ b/net/sched/act_ipt.c @@ -298,7 +298,6 @@ static struct tc_action_ops act_ipt_ops = { .act = tcf_ipt, .dump = tcf_ipt_dump, .cleanup = tcf_ipt_cleanup, - .lookup = tcf_hash_search, .init = tcf_ipt_init, .walk = tcf_generic_walker }; @@ -312,7 +311,6 @@ static struct tc_action_ops act_xt_ops = { .act = tcf_ipt, .dump = tcf_ipt_dump, .cleanup = tcf_ipt_cleanup, - .lookup = tcf_hash_search, .init = tcf_ipt_init, .walk = tcf_generic_walker }; diff --git a/net/sched/act_mirred.c b/net/sched/act_mirred.c index 977c10e..6cb16ec 100644 --- a/net/sched/act_mirred.c +++ b/net/sched/act_mirred.c @@ -271,7 +271,6 @@ static struct tc_action_ops act_mirred_ops = { .act = tcf_mirred, .dump = tcf_mirred_dump, .cleanup = tcf_mirred_cleanup, - .lookup = tcf_hash_search, .init = tcf_mirred_init, .walk = tcf_generic_walker }; diff --git a/net/sched/act_nat.c b/net/sched/act_nat.c index 876f0ef..30c13de 100644 --- a/net/sched/act_nat.c +++ b/net/sched/act_nat.c @@ -308,7 +308,6 @@ static struct tc_action_ops act_nat_ops = { .act = tcf_nat, .dump = tcf_nat_dump, .cleanup = tcf_nat_cleanup, - .lookup = tcf_hash_search, .init = tcf_nat_init, .walk = tcf_generic_walker }; diff --git a/net/sched/act_pedit.c b/net/sched/act_pedit.c index 7ed78c9..ab4fc56 100644 --- a/net/sched/act_pedit.c +++ b/net/sched/act_pedit.c @@ -243,7 +243,6 @@ static struct tc_action_ops act_pedit_ops = { .act = tcf_pedit, .dump = tcf_pedit_dump, .cleanup = tcf_pedit_cleanup, - .lookup = tcf_hash_search, .init = tcf_pedit_init, .walk = tcf_generic_walker }; diff --git a/net/sched/act_police.c b/net/sched/act_police.c index 272d8e9..16a62c3 100644 --- a/net/sched/act_police.c +++ b/net/sched/act_police.c @@ -407,7 +407,6 @@ static struct tc_action_ops act_police_ops = { .act = tcf_act_police, .dump = tcf_act_police_dump, .cleanup = tcf_act_police_cleanup, - .lookup = tcf_hash_search, .init = tcf_act_police_locate, .walk = tcf_act_police_walker };