[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191106085533.GF2112@nanopsycho>
Date: Wed, 6 Nov 2019 09:55:33 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Jakub Kicinski <jakub.kicinski@...ronome.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, daniel@...earbox.net,
oss-drivers@...ronome.com
Subject: Re: [PATCH net-next 1/2] netdevsim: drop code duplicated by a merge
Tue, Nov 05, 2019 at 10:26:11PM CET, jakub.kicinski@...ronome.com wrote:
>Looks like the port adding loop makes a re-appearance on net-next
>after net was merged back into it (even though it doesn't feature
>in the merge diff).
>
>The ports are already added in nsim_dev_create() so when we try
>to add them again get EEXIST, and see:
>
>netdevsim: probe of netdevsim0 failed with error -17
>
>in the logs. When we remove the loop again the nsim_dev_probe()
>and nsim_dev_remove() become a wrapper of nsim_dev_create() and
>nsim_dev_destroy(). Remove this layer of indirection.
>
>Fixes: d31e95585ca6 ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net")
>Signed-off-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
lgtm
Acked-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists