Re: [PATCH net] decnet: always not take dst->__refcnt when inserting dst into hash table

2017-06-16 Thread David Miller
From: Wei Wang Date: Fri, 16 Jun 2017 10:46:37 -0700 > From: Wei Wang > > In the existing dn_route.c code, dn_route_output_slow() takes > dst->__refcnt before calling dn_insert_route() while dn_route_input_slow() > does not take dst->__refcnt before calling dn_insert_route(). > This makes the w

[PATCH net] decnet: always not take dst->__refcnt when inserting dst into hash table

2017-06-16 Thread Wei Wang
From: Wei Wang In the existing dn_route.c code, dn_route_output_slow() takes dst->__refcnt before calling dn_insert_route() while dn_route_input_slow() does not take dst->__refcnt before calling dn_insert_route(). This makes the whole routing code very buggy. In dn_dst_check_expire(), dnrt_free()