Loading drivers/platform/msm/ipa/ipa_v3/ipa_debugfs.c +4 −3 Original line number Diff line number Diff line Loading @@ -906,10 +906,11 @@ static ssize_t ipa3_read_flt(struct file *file, char __user *ubuf, size_t count, eq = true; } else { rt_tbl = ipa3_id_find(entry->rule.rt_tbl_hdl); if (rt_tbl) rt_tbl_idx = rt_tbl->idx; else if (rt_tbl == NULL || rt_tbl->cookie != IPA_RT_TBL_COOKIE) rt_tbl_idx = ~0; else rt_tbl_idx = rt_tbl->idx; bitmap = entry->rule.attrib.attrib_mask; eq = false; } Loading drivers/platform/msm/ipa/ipa_v3/ipa_flt.c +7 −0 Original line number Diff line number Diff line Loading @@ -1167,6 +1167,13 @@ int ipa3_add_flt_rule_after(struct ipa_ioc_add_flt_rule_after *rules) goto bail; } if (entry->cookie != IPA_FLT_COOKIE) { IPAERR_RL("Invalid cookie value = %u flt hdl id = %d\n", entry->cookie, rules->add_after_hdl); result = -EINVAL; goto bail; } if (entry->tbl != tbl) { IPAERR_RL("given entry does not match the table\n"); result = -EINVAL; Loading drivers/platform/msm/ipa/ipa_v3/ipa_rt.c +7 −0 Original line number Diff line number Diff line Loading @@ -1138,6 +1138,13 @@ int ipa3_add_rt_rule_after(struct ipa_ioc_add_rt_rule_after *rules) goto bail; } if (entry->cookie != IPA_RT_RULE_COOKIE) { IPAERR_RL("Invalid cookie value = %u rule %d in rt tbls\n", entry->cookie, rules->add_after_hdl); ret = -EINVAL; goto bail; } if (entry->tbl != tbl) { IPAERR_RL("given rt rule does not match the table\n"); ret = -EINVAL; Loading Loading
drivers/platform/msm/ipa/ipa_v3/ipa_debugfs.c +4 −3 Original line number Diff line number Diff line Loading @@ -906,10 +906,11 @@ static ssize_t ipa3_read_flt(struct file *file, char __user *ubuf, size_t count, eq = true; } else { rt_tbl = ipa3_id_find(entry->rule.rt_tbl_hdl); if (rt_tbl) rt_tbl_idx = rt_tbl->idx; else if (rt_tbl == NULL || rt_tbl->cookie != IPA_RT_TBL_COOKIE) rt_tbl_idx = ~0; else rt_tbl_idx = rt_tbl->idx; bitmap = entry->rule.attrib.attrib_mask; eq = false; } Loading
drivers/platform/msm/ipa/ipa_v3/ipa_flt.c +7 −0 Original line number Diff line number Diff line Loading @@ -1167,6 +1167,13 @@ int ipa3_add_flt_rule_after(struct ipa_ioc_add_flt_rule_after *rules) goto bail; } if (entry->cookie != IPA_FLT_COOKIE) { IPAERR_RL("Invalid cookie value = %u flt hdl id = %d\n", entry->cookie, rules->add_after_hdl); result = -EINVAL; goto bail; } if (entry->tbl != tbl) { IPAERR_RL("given entry does not match the table\n"); result = -EINVAL; Loading
drivers/platform/msm/ipa/ipa_v3/ipa_rt.c +7 −0 Original line number Diff line number Diff line Loading @@ -1138,6 +1138,13 @@ int ipa3_add_rt_rule_after(struct ipa_ioc_add_rt_rule_after *rules) goto bail; } if (entry->cookie != IPA_RT_RULE_COOKIE) { IPAERR_RL("Invalid cookie value = %u rule %d in rt tbls\n", entry->cookie, rules->add_after_hdl); ret = -EINVAL; goto bail; } if (entry->tbl != tbl) { IPAERR_RL("given rt rule does not match the table\n"); ret = -EINVAL; Loading