diff options
author | Raju Rangoju <rajur@chelsio.com> | 2017-05-15 09:40:39 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-06-02 00:01:28 +0300 |
commit | 1dad0ebeea1cd890b8892523f736916e245b0aef (patch) | |
tree | f3567965cb92ae062852fe025bd32c338d7588f6 /scripts/gdb/linux/utils.py | |
parent | f863de7de34025ee536cb3cc382bfc3cafaa9f0a (diff) | |
download | linux-1dad0ebeea1cd890b8892523f736916e245b0aef.tar.xz |
RDMA/iw_cxgb4: Avoid touch after free error in ARP failure handlers
The patch 761e19a504af (RDMA/iw_cxgb4: Handle return value of
c4iw_ofld_send() in abort_arp_failure()) from May 6, 2016
leads to the following static checker warning:
drivers/infiniband/hw/cxgb4/cm.c:575 abort_arp_failure()
warn: passing freed memory 'skb'
Also fixes skb leak when l2t resolution fails
Fixes: 761e19a504afa55 (RDMA/iw_cxgb4: Handle return value of
c4iw_ofld_send() in abort_arp_failure())
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Raju Rangoju <rajur@chelsio.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions