hitfb: fix sections
[safe/jmp/linux-2.6] / net / xfrm / xfrm_policy.c
index 31f4ba4..d965a2b 100644 (file)
@@ -1805,7 +1805,7 @@ restart:
                        /* EREMOTE tells the caller to generate
                         * a one-shot blackhole route. */
                        dst_release(dst);
-                       xfrm_pols_put(pols, num_pols);
+                       xfrm_pols_put(pols, drop_pols);
                        XFRM_INC_STATS(net, LINUX_MIB_XFRMOUTNOSTATES);
                        return -EREMOTE;
                }
@@ -2209,7 +2209,6 @@ EXPORT_SYMBOL(xfrm_dst_ifdown);
 static void xfrm_link_failure(struct sk_buff *skb)
 {
        /* Impossible. Such dst must be popped before reaches point of failure. */
-       return;
 }
 
 static struct dst_entry *xfrm_negative_advice(struct dst_entry *dst)