net_sched: cls_api: fix return value for non-existant classifiers
authorPatrick McHardy <kaber@trash.net>
Tue, 20 May 2008 21:34:46 +0000 (14:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 May 2008 21:34:46 +0000 (14:34 -0700)
commitf2df824948d559ea818e03486a8583e42ea6ab37
tree7566318874c03d1513011208c8bf378282298444
parent1ac06e0306d0192a7a4d9ea1c9e06d355ce7e7d3
net_sched: cls_api: fix return value for non-existant classifiers

cls_api should return ENOENT when the requested classifier doesn't
exist.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_api.c