diff options
| -rw-r--r-- | net/ipv4/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 5bc172abd143..621f83434b24 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c | |||
| @@ -1482,7 +1482,7 @@ static bool rt_cache_route(struct fib_nh_common *nhc, struct rtable *rt) | |||
| 1482 | prev = cmpxchg(p, orig, rt); | 1482 | prev = cmpxchg(p, orig, rt); |
| 1483 | if (prev == orig) { | 1483 | if (prev == orig) { |
| 1484 | if (orig) { | 1484 | if (orig) { |
| 1485 | dst_dev_put(&orig->dst); | 1485 | rt_add_uncached_list(orig); |
| 1486 | dst_release(&orig->dst); | 1486 | dst_release(&orig->dst); |
| 1487 | } | 1487 | } |
| 1488 | } else { | 1488 | } else { |
