Thanks for the detailed explanation.
Just more context:
- the memory leak is triggered by my server UEFI firmware: when loading the
option ROM it finds that the ROM (iPXE in this case) implements an SNP
interface, so it opens the interface and starts "polling" it in a tight loop. I
don't know why it does that but suppose for similar reasons as in
https://github.com/ipxe/ipxe/blob/e226fecd1b602ece7f4f208042f3e87ca540b297/src/interface/efi/efi_snp.c#L1767-L1776
(I actually patched it the same way by opening the SNP interface in DRIVER
EXCLUSIVE mode as well)
- since the interface during this polling is not configured - obviously it gets
nothing. However, I'm sure the memory is not released, so maybe the
`ib_complete_recv()` never gets called
Closing this for now - I'll investigate further if I have time, but if you have
some ideas/more pointers, please let me know.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/ipxe/ipxe/pull/87#issuecomment-454483405
_______________________________________________
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel