RDMA/cxgb4: Add missing neigh_release in find_route
authorHariprasad S <hariprasad@chelsio.com>
Tue, 23 Sep 2014 22:23:42 +0000 (03:53 +0530)
committerRoland Dreier <roland@purestorage.com>
Tue, 14 Oct 2014 07:34:08 +0000 (00:34 -0700)
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cm.c

index 2ca9ec8d6474e66bad918cd5b30d37e1f9fdd397..2ee9892850baf51904db6afca61914c9fed7bd5e 100644 (file)
@@ -417,6 +417,7 @@ static struct dst_entry *find_route(struct c4iw_dev *dev, __be32 local_ip,
                return NULL;
        if (!our_interface(dev, n->dev) &&
            !(n->dev->flags & IFF_LOOPBACK)) {
+               neigh_release(n);
                dst_release(&rt->dst);
                return NULL;
        }
This page took 0.027867 seconds and 5 git commands to generate.