diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-09-21 11:07:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-21 19:19:07 -0700 |
commit | 83fe9a966111b51a34f10c35e568e45bff34de48 (patch) | |
tree | 11945dfd4538b07a1cd32e8093b20b8bbbb1b988 /fs | |
parent | e6ce3822a9f264b3f24c1acdc624131fb014f2f0 (diff) |
devlink: double free in devlink_resource_fill()
Smatch reports that devlink_dpipe_send_and_alloc_skb() frees the skb
on error so this is a double free. We fixed a bunch of these bugs in
commit 7fe4d6dcbcb4 ("devlink: Remove redundant free on error path") but
we accidentally overlooked this one.
Fixes: d9f9b9a4d05f ("devlink: Add support for resource abstraction")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions