diff options
author | Potnuri Bharat Teja <bharat@chelsio.com> | 2019-10-25 18:04:40 +0530 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-28 14:13:33 -0300 |
commit | d4934f45693651ea15357dd6c7c36be28b6da884 (patch) | |
tree | fee8011fc1774f0e987e1c1a4b240899406f0f2b /scripts/gdb/linux/utils.py | |
parent | 1524b12a6e02a85264af4ed208b034a2239ef374 (diff) |
RDMA/iw_cxgb4: Avoid freeing skb twice in arp failure case
_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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions