summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorPotnuri Bharat Teja <bharat@chelsio.com>2019-10-25 15:34:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-12 21:18:42 +0300
commit32eb2a0a19e51c2cb0f44c18c8a6c14bfde3a29a (patch)
treeddc8fa17df9218a79fda08292c2d613c396382c2 /drivers/scsi/qla2xxx/qla_os.c
parent53746bf4e6220c4b40cf0f4c32a3d6a57dc43e1b (diff)
downloadlinux-32eb2a0a19e51c2cb0f44c18c8a6c14bfde3a29a.tar.xz
RDMA/iw_cxgb4: Avoid freeing skb twice in arp failure case
[ Upstream commit d4934f45693651ea15357dd6c7c36be28b6da884 ] _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: 1dad0ebeea1c ("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>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
0 files changed, 0 insertions, 0 deletions