]> git.ipfire.org Git - thirdparty/linux.git/commit
ethtool: tsconfig: fix missing ethnl_ops_complete()
authorJakub Kicinski <kuba@kernel.org>
Tue, 26 May 2026 15:35:28 +0000 (08:35 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 May 2026 00:42:08 +0000 (17:42 -0700)
commit6386bd772de64e6760306eb91c7e86163af6c22f
treed3ab6596df8948de02b8dc6f49171c3f625c141d
parentab5bf428fb6bd361163c7247b92750d1d24ca2ed
ethtool: tsconfig: fix missing ethnl_ops_complete()

tsconfig_prepare_data() calls ethnl_ops_begin(), we need to call
ethnl_ops_complete() before returning the error.

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-6-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ethtool/tsconfig.c