]> err.no Git - linux-2.6/blobdiff - net/core/dst.c
[IPV4]: Kill MULTIPATHHOLDROUTE flag.
[linux-2.6] / net / core / dst.c
index 3bf6cc4348141ef8961475dce214c91dcf07bb72..fc434ade5270e1b99770a9a5f91b2a8747a50093 100644 (file)
@@ -198,13 +198,15 @@ again:
 
        dst = child;
        if (dst) {
+               int nohash = dst->flags & DST_NOHASH;
+
                if (atomic_dec_and_test(&dst->__refcnt)) {
                        /* We were real parent of this dst, so kill child. */
-                       if (dst->flags&DST_NOHASH)
+                       if (nohash)
                                goto again;
                } else {
                        /* Child is still referenced, return it for freeing. */
-                       if (dst->flags&DST_NOHASH)
+                       if (nohash)
                                return dst;
                        /* Child is still in his hash table */
                }