commit | 71ebe5e91947392bc276af713827eab12b6db8e4 | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Fri Sep 04 06:41:15 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 06 02:06:12 2009 -0700 |
tree | 198ff02e23f8606ff2a3bec51c7044ec408e19c4 | |
parent | c9f1d0389b962521af1e2b699c8ee5e299d77b85 [diff] |
net_sched: make cls_ops->tcf_chain() optional 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>