diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2016-08-19 21:36:54 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-23 02:02:31 +0200 |
commit | b9a24bb76bf611a5268ceffe04219e6ad264559b (patch) | |
tree | 78aefca9f8e4da33abea28a0ff61fbc59fd2c66d /net/sched/act_ipt.c | |
parent | Revert "l2tp: Refactor the codes with existing macros instead of literal number" (diff) | |
download | linux-b9a24bb76bf611a5268ceffe04219e6ad264559b.tar.xz linux-b9a24bb76bf611a5268ceffe04219e6ad264559b.zip |
net_sched: properly handle failure case of tcf_exts_init()
After commit 22dc13c837c3 ("net_sched: convert tcf_exts from list to pointer array")
we do dynamic allocation in tcf_exts_init(), therefore we need
to handle the ENOMEM case properly.
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_ipt.c')
0 files changed, 0 insertions, 0 deletions