All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: Use correct default-path macro for downscript
@ 2020-11-23  6:29 Keqian Zhu
  2020-11-23  8:16 ` Jason Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Keqian Zhu @ 2020-11-23  6:29 UTC (permalink / raw)
  To: qemu-devel, Jason Wang, Paolo Bonzini
  Cc: wanghaibin.wang, qemu-arm, Keqian Zhu

Fixes: 63c4db4c2e6d (net: relocate paths to helpers and scripts)
Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
---
 net/tap.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net/tap.c b/net/tap.c
index c46ff66184..b8e5cca51c 100644
--- a/net/tap.c
+++ b/net/tap.c
@@ -951,7 +951,8 @@ free_fail:
             script = default_script = get_relocated_path(DEFAULT_NETWORK_SCRIPT);
         }
         if (!downscript) {
-            downscript = default_downscript = get_relocated_path(DEFAULT_NETWORK_SCRIPT);
+            downscript = default_downscript =
+                                 get_relocated_path(DEFAULT_NETWORK_DOWN_SCRIPT);
         }
 
         if (tap->has_ifname) {
-- 
2.23.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: Use correct default-path macro for downscript
  2020-11-23  6:29 [PATCH] net: Use correct default-path macro for downscript Keqian Zhu
@ 2020-11-23  8:16 ` Jason Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Wang @ 2020-11-23  8:16 UTC (permalink / raw)
  To: Keqian Zhu, qemu-devel, Paolo Bonzini; +Cc: wanghaibin.wang, qemu-arm


On 2020/11/23 下午2:29, Keqian Zhu wrote:
> Fixes: 63c4db4c2e6d (net: relocate paths to helpers and scripts)
> Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
> ---
>   net/tap.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/net/tap.c b/net/tap.c
> index c46ff66184..b8e5cca51c 100644
> --- a/net/tap.c
> +++ b/net/tap.c
> @@ -951,7 +951,8 @@ free_fail:
>               script = default_script = get_relocated_path(DEFAULT_NETWORK_SCRIPT);
>           }
>           if (!downscript) {
> -            downscript = default_downscript = get_relocated_path(DEFAULT_NETWORK_SCRIPT);
> +            downscript = default_downscript =
> +                                 get_relocated_path(DEFAULT_NETWORK_DOWN_SCRIPT);
>           }
>   
>           if (tap->has_ifname) {


Applied.

Thanks




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-23  8:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-23  6:29 [PATCH] net: Use correct default-path macro for downscript Keqian Zhu
2020-11-23  8:16 ` Jason Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.