commit | 55334a5db5cd32b207ac697cec3ec8e078f345d4 | [log] [tgz] |
---|---|---|
author | WANG Cong <xiyou.wangcong@gmail.com> | Tue Feb 11 17:07:34 2014 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 12 19:23:32 2014 -0500 |
tree | f4093d86b0d26f72f8bd68e1a7e1ea8fd1d476c3 | |
parent | 4f1e9d8949b438c7791993515fc164312e9080e2 [diff] |
net_sched: act: refuse to remove bound action outside When an action is bonnd to a filter, there is no point to remove it outside. Currently we just silently decrease the refcnt, we should reject this explicitly with EPERM. Cc: Jamal Hadi Salim <jhs@mojatatu.com> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>