acrn-kernel/net/decnet
Vadim Fedorenko 3f96d64497 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 <vfedorenko@novek.ru>
Link: https://lore.kernel.org/r/1611619334-20955-1-git-send-email-vfedorenko@novek.ru
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-01-27 17:33:46 -08:00
..
netfilter netfilter: Replace HTTP links with HTTPS ones 2020-07-29 20:09:18 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
README
TODO
af_decnet.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dn_dev.c treewide: rename nla_strlcpy to nla_strscpy. 2020-11-16 08:08:54 -08:00
dn_fib.c
dn_neigh.c
dn_nsp_in.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dn_nsp_out.c
dn_route.c net: decnet: fix netdev refcount leaking on error path 2021-01-27 17:33:46 -08:00
dn_rules.c
dn_table.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dn_timer.c
sysctl_net_decnet.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00

README

                       Linux DECnet Project
                      ======================

The documentation for this kernel subsystem is available in the
Documentation/networking subdirectory of this distribution and also
on line at http://www.chygwyn.com/DECnet/

Steve Whitehouse <SteveW@ACM.org>