Closed jcmvbkbc closed 7 months ago
Thank you @jcmvbkbc for your time and effort to contribute this change. We will shortly merge this PR into the master.
@kapilkedawat ++
LGTM, will merge internally and sync to github shortly.
I realized that this pull request also has changed idf submodule tag. This was definitely not my intent, thanks for picking up only the correct changes.
Can we close this PR @jcmvbkbc ? as changes are in: https://github.com/espressif/esp-hosted/commit/4527e1040cdc0c5a0e4d957fd30ec0a4e7cc046d
Sure. Thanks again.
process_rx_packet() doesn't free the original skb when PACKET_TYPE_EAPOL packet is processed. Add dev_kfree_skb_any(skb) calls to both success and error paths of the PACKET_TYPE_EAPOL message processing code. This fixes memory leaks reported by the kernel built with KMEMLEAK.