diff options
author | Vadim Fedorenko <[email protected]> | 2021-01-26 03:02:14 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-01-27 17:33:46 -0800 |
commit | 3f96d644976825986a93b7b9fe6a9900a80f2e11 (patch) | |
tree | 893747792bcf57b264ad72d6004ec30f7a6e492f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 20776b465c0c249f5e5b5b4fe077cd24ef1cda86 (diff) |
net: decnet: fix netdev refcount leaking on error path
On building the route there is an assumption that the destination
could be local. In this case loopback_dev is used to get the address.
If the address is still cannot be retrieved dn_route_output_slow
returns EADDRNOTAVAIL with loopback_dev reference taken.
Cannot find hash for the fixes tag because this code was introduced
long time ago. I don't think that this bug has ever fired but the
patch is done just to have a consistent code base.
Signed-off-by: Vadim Fedorenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions