diff options
author | 2016-06-30 11:44:33 +0530 | |
---|---|---|
committer | 2016-08-02 13:04:42 -0400 | |
commit | 56b2eca3fea8ea4fb6ec732b98470a09385cb1eb (patch) | |
tree | 992b5feaca30f70ec9efef8f0830955f4a0677dc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/iw_cxgb4: Low resource fixes for Completion queue (diff) | |
download | wireguard-linux-56b2eca3fea8ea4fb6ec732b98470a09385cb1eb.tar.xz wireguard-linux-56b2eca3fea8ea4fb6ec732b98470a09385cb1eb.zip |
RDMA/iw_cxgb4: Use kfree_skb instead of kfree
The commit 0f8ab0b6e91b4d53 ("RDMA/iw_cxgb4: Low resource fixes for Memory
registration") from Jun 10, 2016, leads to the following static checker
warning:
drivers/infiniband/hw/cxgb4/mem.c:612 c4iw_alloc_mw()
error: use kfree_skb() here instead of kfree(mhp->dereg_skb)
Also fixes skb leak in c4iw_dealloc_mw
Fixes: 0f8ab0b6e91b4d53 ("RDMA/iw_cxgb4: Low resource fixes for Memory registration")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions