diff options
author | Kevin Hilman <khilman@linaro.org> | 2015-12-10 07:28:43 -0800 |
---|---|---|
committer | Kevin Hilman <khilman@linaro.org> | 2015-12-10 07:28:43 -0800 |
commit | a69ce65274ff1589bb64ea782a4178d7210da0bb (patch) | |
tree | d039adba20838b165626987a5f63ff89c3e16338 /net/core/dst.c | |
parent | caf91bc186175f0005ed77295f1acd52c6aeca47 (diff) | |
parent | d235b7b42ab59e2e616082a0735b3bcc76685c7b (diff) |
Merge branch 'linux-linaro-lsk-v3.10' into linux-linaro-lsk-v3.10-androidlsk-v3.10-16.01-androidlsk-v3.10-15.12-android
Diffstat (limited to 'net/core/dst.c')
-rw-r--r-- | net/core/dst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dst.c b/net/core/dst.c index c0e021871df8..01f9980af86e 100644 --- a/net/core/dst.c +++ b/net/core/dst.c @@ -283,7 +283,7 @@ void dst_release(struct dst_entry *dst) newrefcnt = atomic_dec_return(&dst->__refcnt); WARN_ON(newrefcnt < 0); - if (unlikely(dst->flags & DST_NOCACHE) && !newrefcnt) + if (!newrefcnt && unlikely(dst->flags & DST_NOCACHE)) call_rcu(&dst->rcu_head, dst_destroy_rcu); } } |