Adriano Cordova 2c2d2f3d12 efi_loader: efi_net: let efi_net_set_dp properly update the device path
This commit fixes an use after free introduced in Commit e55a4acb54
(" efi_loader: net: set EFI bootdevice device path to HTTP when loaded
from wget"). The logic in efi_net_set_dp is reworked so that when the
function is invoked it not only changes the value of the static variable
net_dp (this is how the function was implemented in e55a4acb54) but also
updates the protocol interface of the device path protocol in case efi
has started.

Fixes: e55a4acb54e8 ("efi_loader: net: set EFI bootdevice device path to HTTP when loaded from wget")
Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
2025-02-28 15:25:30 +01:00
..
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-10-21 17:52:52 -06:00
2024-09-12 17:35:37 +02:00
2024-07-15 12:12:18 -06:00
2024-10-11 11:44:48 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2025-02-03 16:01:36 -06:00
2024-07-15 12:12:18 -06:00
2025-01-22 15:58:03 -06:00
2024-12-02 07:40:30 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2025-02-03 16:01:36 -06:00
2025-02-03 16:01:36 -06:00
2025-02-03 16:00:42 -06:00
2025-02-20 11:09:33 +01:00
2025-02-03 16:01:36 -06:00
2025-02-03 16:01:36 -06:00
2024-12-06 17:47:23 -06:00
2019-12-06 16:44:20 -05:00
2024-12-06 17:47:23 -06:00
2025-01-18 17:12:47 -06:00
2024-12-06 17:47:23 -06:00
2020-08-24 14:11:31 -04:00
2025-02-12 12:37:12 -06:00
2024-11-13 08:14:23 -06:00
2024-10-11 11:44:47 -06:00
2025-01-28 08:58:41 +02:00
2022-01-19 18:11:34 +01:00
2024-10-14 17:58:30 -06:00
2025-01-01 10:40:33 -06:00
2024-11-13 08:16:41 -06:00
2019-05-05 08:48:50 -04:00