net_sched: make cls_ops->tcf_chain() optional
authorPatrick McHardy <kaber@trash.net>
Fri, 4 Sep 2009 06:41:15 +0000 (06:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Sep 2009 09:06:12 +0000 (02:06 -0700)
Some qdiscs don't support attaching filters. Handle this centrally in
cls_api and return a proper errno code (EOPNOTSUPP) instead of EINVAL.

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

No differences found