[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f62d9905-22d1-08db-1b6b-e32e7d089e87@gmail.com>
Date: Sun, 9 May 2021 16:09:42 -0600
From: David Ahern <dsahern@...il.com>
To: Hoang Le <hoang.h.le@...tech.com.au>, netdev@...r.kernel.org,
tipc-discussion@...ts.sourceforge.net, jmaloy@...hat.com,
maloy@...jonn.com, ying.xue@...driver.com,
tung.q.nguyen@...tech.com.au
Subject: Re: [iproute2] tipc: call a sub-routine in separate socket
On 5/5/21 9:27 PM, Hoang Le wrote:
> When receiving a result from first query to netlink, we may exec
> a another query inside the callback. If calling this sub-routine
> in the same socket, it will be discarded the result from previous
> exection.
> To avoid this we perform a nested query in separate socket.
>
> Fixes: 202102830663 ("tipc: use the libmnl functions in lib/mnl_utils.c")
> Signed-off-by: Hoang Le <hoang.h.le@...tech.com.au>
> Acked-by: Jon Maloy <jmaloy@...hat.com>
> ---
> tipc/bearer.c | 50 +++++++++++++++++++++++++++++++++++++++++++++-----
> tipc/link.c | 15 +++++++++++++--
> tipc/socket.c | 17 +++++++++++++++--
> 3 files changed, 73 insertions(+), 9 deletions(-)
>
applied, thanks
Powered by blists - more mailing lists