diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2014-02-12 01:07:35 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-13 00:23:32 (GMT) |
commit | 03701d6ebd1fd1871b5965356f6d8e90ebe53699 (patch) | |
tree | 1b24773d7fc90d14ecc682d407e1b2560e755c77 /security | |
parent | 55334a5db5cd32b207ac697cec3ec8e078f345d4 (diff) | |
download | linux-03701d6ebd1fd1871b5965356f6d8e90ebe53699.tar.xz |
net_sched: act: clean up tca_action_flush()
We could allocate tc_action on stack in tca_action_flush(),
since it is not large.
Also, we could use create_a() in tcf_action_get_1().
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions