1 From 44a02f11d1d7f26e1ae811009b7ef5a657c2056d Mon Sep 17 00:00:00 2001
2 Message-Id: <20080609.134337.193698173.davem@davemloft.net>
3 From: Patrick McHardy <kaber@trash.net>
4 Date: Tue, 20 May 2008 14:34:46 -0700
5 Subject: net_sched: cls_api: fix return value for non-existant classifiers
7 From: Patrick McHardy <kaber@trash.net>
9 [ upstream commit: f2df824948d559ea818e03486a8583e42ea6ab37 ]
11 cls_api should return ENOENT when the requested classifier doesn't
14 Signed-off-by: Patrick McHardy <kaber@trash.net>
15 Signed-off-by: David S. Miller <davem@davemloft.net>
16 Signed-off-by: Chris Wright <chrisw@sous-sol.org>
18 net/sched/cls_api.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
21 --- a/net/sched/cls_api.c
22 +++ b/net/sched/cls_api.c
23 @@ -220,7 +220,7 @@ replay:
24 tp = kzalloc(sizeof(*tp), GFP_KERNEL);
29 tp_ops = tcf_proto_lookup_ops(tca[TCA_KIND]);