summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-05-26 18:35:25 +0300
committerJakub Kicinski <kuba@kernel.org>2026-05-28 03:42:08 +0300
commita888bbd43940cada72f7686337741ce86d1cf869 (patch)
treeaa38db33a443ede9528d13d08fd5b803b3cee311 /include/linux/timerqueue.h
parent7281b096b072f6c6e30420e3467d738f2e4c4b57 (diff)
downloadlinux-a888bbd43940cada72f7686337741ce86d1cf869.tar.xz
ethtool: tsconfig: fix reply error handling
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: 6e9e2eed4f39 ("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>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions