diff options
author | Sergey Popovich <popovich_sergei@mail.ru> | 2014-05-06 19:23:08 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-08 01:14:32 +0400 |
commit | aeefa1ecfc799b0ea2c4979617f14cecd5cccbfd (patch) | |
tree | 89e426b9a1e402fae250984d2083c5148358b5bb /tools/perf/scripts/python | |
parent | 7fc1c5f3ca2ade64c8a7c78a1df3130f74f383e4 (diff) | |
download | linux-aeefa1ecfc799b0ea2c4979617f14cecd5cccbfd.tar.xz |
ipv4: fib_semantics: increment fib_info_cnt after fib_info allocation
Increment fib_info_cnt in fib_create_info() right after successfuly
alllocating fib_info structure, overwise fib_metrics allocation failure
leads to fib_info_cnt incorrectly decremented in free_fib_info(), called
on error path from fib_create_info().
Signed-off-by: Sergey Popovich <popovich_sergei@mail.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions