summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2025-05-22 14:57:22 +0300
committerJakub Kicinski <kuba@kernel.org>2025-05-28 05:07:48 +0300
commit846992645b25ec4253167e3f931e4597eb84af56 (patch)
tree593f05cb546a7479dde5c5ab91758e9f065ed08b /scripts/lib/kdoc/kdoc_files.py
parent65484f9dfd3c707f0bb9a615ec987bb82d6e3e7d (diff)
downloadlinux-846992645b25ec4253167e3f931e4597eb84af56.tar.xz
net: phy: mscc: Fix memory leak when using one step timestamping
Fix memory leak when running one-step timestamping. When running one-step sync timestamping, the HW is configured to insert the TX time into the frame, so there is no reason to keep the skb anymore. As in this case the HW will never generate an interrupt to say that the frame was timestamped, then the frame will never released. Fix this by freeing the frame in case of one-step timestamping. Fixes: 7d272e63e0979d ("net: phy: mscc: timestamping and PHC support") Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Link: https://patch.msgid.link/20250522115722.2827199-1-horatiu.vultur@microchip.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions