aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorPedro Tammela2023-02-27 12:23:52 -0300
committerDavid S. Miller2023-03-01 08:19:09 +0000
commitfb07390463c95e6eef254044d6dde050bfb9807a (patch)
treefabf7fde8af78beeb0699bd00428667c56b81eaa /usr
parent880ce5f20033cd6ecb2c0edfe0376c9e45220012 (diff)
net/sched: act_connmark: handle errno on tcf_idr_check_alloc
Smatch reports that 'ci' can be used uninitialized. The current code ignores errno coming from tcf_idr_check_alloc, which will lead to the incorrect usage of 'ci'. Handle the errno as it should. Fixes: 288864effe33 ("net/sched: act_connmark: transition to percpu stats and rcu") Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Pedro Tammela <pctammela@mojatatu.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions