On Thu, May 11, 2017 at 05:13:54PM +0530, Raju Rangoju wrote: > 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()) > > Signed-off-by: Raju Rangoju <rajur@xxxxxxxxxxx> > Reviewed-by: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx> > --- > drivers/infiniband/hw/cxgb4/cm.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature