]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 16 Jun 2008 20:19:55 +0000 (13:19 -0700)
commit58c1bcf7e5454a95ef8997f7c769361d687bfd82
treef37adc5eb152999b73cf9a9be1ae4090c29dc75e
parent6600b220d4e12ec47b4ffc710840c98940c1bb8e
net_sched: cls_api: fix return value for non-existant classifiers

[ upstream commit: f2df824948d559ea818e03486a8583e42ea6ab37 ]

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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/sched/cls_api.c