RE: [PATCH] net: fix potential refcount leak in ndisc_router_discovery()
From: Praveen Chaudhary
Date: Mon Aug 15 2022 - 14:03:46 EST
Hi Xin
Any reason why you are not adding this code under the
if (rt && (lifetime == 0 || rt->fib6_metric != defrtr_usr_metric)) block ?
i.e. while route deletion.