diff options
| author | Mingming Cao <mmc@linux.ibm.com> | 2026-09-25 11:05:29 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-01 15:59:28 -0700 |
| commit | af0524bf4ce1a4cbd2946aa81751582951cfcab5 (patch) | |
| tree | 5e3fd4c1d0bfa8725f6e487656ba478f8370a8f6 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d24e8ac715de2e16a53c144005b1863660a5fbea (diff) | |
| download | linux-af0524bf4ce1a4cbd2946aa81751582951cfcab5.tar.gz linux-af0524bf4ce1a4cbd2946aa81751582951cfcab5.zip | |
ibmveth: h_free logical LAN on open-fail after register
ibmveth_open() registers the logical LAN, then allocates the RX
buffer pools. A pool failure jumps to out_free_buffer_pools without
h_free_logical_lan(), so PHYP still owns the buffer-list page when
it is unmapped. request_irq() failure already issued the hypercall
before taking the same label.
Move that h_free to the shared post-register unwind so both paths
deregister before the buffer list is unmapped.
Fixes: d43732ce021f ("ibmveth: properly unwind on init errors")
Cc: stable@vger.kernel.org
Signed-off-by: Mingming Cao <mmc@linux.ibm.com>
Reviewed-by: Dave Marquardt <davemarq@linux.ibm.com>
Link: https://patch.msgid.link/7a56fbfb9e0674f011f4e310fbd7dfd8e67c30aa.1790357373.git.mmc@linux.ibm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
