diff options
| author | 2026-05-26 08:35:25 -0700 | |
|---|---|---|
| committer | 2026-05-27 17:42:08 -0700 | |
| commit | a888bbd43940cada72f7686337741ce86d1cf869 (patch) | |
| tree | aa38db33a443ede9528d13d08fd5b803b3cee311 /include/linux/amba/ssh:/git@git.zx2c4.com | |
| parent | ethtool: coalesce: cap profile updates at NET_DIM_PARAMS_NUM_PROFILES (diff) | |
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/amba/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
