|
@@ -306,7 +306,7 @@ void dst_release(struct dst_entry *dst)
|
|
|
if (unlikely(newrefcnt < 0))
|
|
|
net_warn_ratelimited("%s: dst:%p refcnt:%d\n",
|
|
|
__func__, dst, newrefcnt);
|
|
|
- if (unlikely(dst->flags & DST_NOCACHE) && !newrefcnt)
|
|
|
+ if (!newrefcnt && unlikely(dst->flags & DST_NOCACHE))
|
|
|
call_rcu(&dst->rcu_head, dst_destroy_rcu);
|
|
|
}
|
|
|
}
|