diff options
author | Patrick McHardy <kaber@trash.net> | 2009-09-04 06:41:15 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-06 02:06:12 -0700 |
commit | 71ebe5e91947392bc276af713827eab12b6db8e4 (patch) | |
tree | 198ff02e23f8606ff2a3bec51c7044ec408e19c4 /net/802/psnap.c | |
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>
Diffstat (limited to 'net/802/psnap.c')
0 files changed, 0 insertions, 0 deletions