Message ID | 20211124121406.3330950-1-idosch@idosch.org (mailing list archive) |
---|---|
State | Accepted |
Commit | c5e7133411601492ec0000dd4301ec9629f390a4 |
Delegated to: | Michal Kubecek |
Headers | show |
Series | [ethtool] cable-test: Fix premature process termination | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Not a local patch |
Hello: This patch was applied to ethtool/ethtool.git (master) by Michal Kubecek <mkubecek@suse.cz>: On Wed, 24 Nov 2021 14:14:06 +0200 you wrote: > From: Ido Schimmel <idosch@nvidia.com> > > Unlike other ethtool operations, cable testing is asynchronous which > allows several cables to be tested simultaneously. This is done by > ethtool instructing the kernel to start the cable testing and listening > to multicast notifications regarding its progress. The ethtool process > terminates after receiving a notification about the completion of the > test. > > [...] Here is the summary with links: - [ethtool] cable-test: Fix premature process termination https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/commit/?id=c5e713341160 You are awesome, thank you!
diff --git a/netlink/cable_test.c b/netlink/cable_test.c index 17139f7d297d..9305a4763c5b 100644 --- a/netlink/cable_test.c +++ b/netlink/cable_test.c @@ -225,6 +225,7 @@ static int nl_cable_test_process_results(struct cmd_context *ctx) nlctx->is_monitor = true; nlsk->port = 0; nlsk->seq = 0; + nlctx->filter_devname = ctx->devname; ctctx.breakout = false; nlctx->cmd_private = &ctctx; @@ -496,6 +497,7 @@ static int nl_cable_test_tdr_process_results(struct cmd_context *ctx) nlctx->is_monitor = true; nlsk->port = 0; nlsk->seq = 0; + nlctx->filter_devname = ctx->devname; ctctx.breakout = false; nlctx->cmd_private = &ctctx;