diff options
Diffstat (limited to 'net/core/dst.c')
-rw-r--r-- | net/core/dst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/dst.c b/net/core/dst.c index 6c41b1fac3db..978a1ee1f7d0 100644 --- a/net/core/dst.c +++ b/net/core/dst.c | |||
@@ -228,8 +228,8 @@ again: | |||
228 | child = dst->child; | 228 | child = dst->child; |
229 | 229 | ||
230 | dst->hh = NULL; | 230 | dst->hh = NULL; |
231 | if (hh && atomic_dec_and_test(&hh->hh_refcnt)) | 231 | if (hh) |
232 | kfree(hh); | 232 | hh_cache_put(hh); |
233 | 233 | ||
234 | if (neigh) { | 234 | if (neigh) { |
235 | dst->neighbour = NULL; | 235 | dst->neighbour = NULL; |