Explorar o código

RDMA/cxgb4: Add missing neigh_release in LE-Workaround path

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Kumar Sanghvi %!s(int64=12) %!d(string=hai) anos
pai
achega
0f0132001f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      drivers/infiniband/hw/cxgb4/cm.c

+ 1 - 0
drivers/infiniband/hw/cxgb4/cm.c

@@ -3352,6 +3352,7 @@ static int rx_pkt(struct c4iw_dev *dev, struct sk_buff *skb)
 		goto free_dst;
 	}
 
+	neigh_release(neigh);
 	step = dev->rdev.lldi.nrxq / dev->rdev.lldi.nchan;
 	rss_qid = dev->rdev.lldi.rxq_ids[pi->port_id * step];
 	window = (__force u16) htons((__force u16)tcph->window);