|
From: David A. <ds...@gm...> - 2021-05-09 22:09:54
|
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 <hoa...@de...>
> Acked-by: Jon Maloy <jm...@re...>
> ---
> tipc/bearer.c | 50 +++++++++++++++++++++++++++++++++++++++++++++-----
> tipc/link.c | 15 +++++++++++++--
> tipc/socket.c | 17 +++++++++++++++--
> 3 files changed, 73 insertions(+), 9 deletions(-)
>
applied, thanks
|