sched, act: allow to clear all actions as well
authorCong Wang <cwang@twopensource.com>
Fri, 25 Apr 2014 20:55:30 +0000 (13:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Apr 2014 03:42:39 +0000 (23:42 -0400)
commita49eb42a341f1df8fa0f9dc4449f9dd4a3234a2f
treed57c9fb4e9e09ca9560321ac69a057dd1f455fce
parent2f7ef2f8790f5bf53db4fc6b2310943139285827
sched, act: allow to clear all actions as well

When we change the list of action on a given filter, currently we don't
change it to empty. This is a bug, we should allow to change to whatever
users given.

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: Cong Wang <cwang@twopensource.com>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_api.c