+7
−2
Loading
A couple of trivial bugs in error handling in tsconfig_send_reply(). If we failed to allocate rskb we need to set the error. If we did allocate it but failed to send it - we need to remember to free it. Fixes: 6e9e2eed ("net: ethtool: Add support for tsconfig command to get/set hwtstamp config") Reviewed-by:Vadim Fedorenko <vadim.fedorenko@linux.dev> Reviewed-by:
Kory Maincent <kory.maincent@bootlin.com> Link: https://patch.msgid.link/20260526153533.2779187-3-kuba@kernel.org Signed-off-by:
Jakub Kicinski <kuba@kernel.org>