diff options
author | hselasky <hselasky@FreeBSD.org> | 2016-09-23 08:35:56 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2016-09-23 08:35:56 +0000 |
commit | f1424fbcd4898c174307f75dc9cbb9f58fa5293e (patch) | |
tree | 29c7d9679525706280f95d3310c0f2063e6c84f2 /contrib/llvm/lib/MC/MCFunction.cpp | |
parent | d86ebdcff67b025a75ca548c866b47db04d8f9f2 (diff) | |
download | FreeBSD-src-f1424fbcd4898c174307f75dc9cbb9f58fa5293e.zip FreeBSD-src-f1424fbcd4898c174307f75dc9cbb9f58fa5293e.tar.gz |
MFC r305877:
mlx5en: Fix duplicate mbuf free-by-code.
When mlx5e_sq_xmit() returns an error code and the mbuf pointer is set,
we should not free the mbuf, because the caller will keep the mbuf in
the drbr. Make sure the mbuf pointer is correctly set upon function
exit.
Sponsored by: Mellanox Technologies
Diffstat (limited to 'contrib/llvm/lib/MC/MCFunction.cpp')
0 files changed, 0 insertions, 0 deletions