Files
linux/drivers/infiniband/hw/cxgb4
Potnuri Bharat Teja 32eb2a0a19 RDMA/iw_cxgb4: Avoid freeing skb twice in arp failure case
[ Upstream commit d4934f4569 ]

_put_ep_safe() and _put_pass_ep_safe() free the skb before it is freed by
process_work(). fix double free by freeing the skb only in process_work().

Fixes: 1dad0ebeea ("iw_cxgb4: Avoid touch after free error in ARP failure handlers")
Link: https://lore.kernel.org/r/1572006880-5800-1-git-send-email-bharat@chelsio.com
Signed-off-by: Dakshaja Uppalapati <dakshaja@chelsio.com>
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-12 19:18:42 +01:00
..
2018-05-09 09:51:53 +02:00
2018-09-29 03:06:07 -07:00