In message: [PATCH linux-yocto] net: tsn: Adjust the parameters of 
genlmsg_multicast_allns()
on 07/11/2024 Kevin Hao wrote:

> From: Kevin Hao <kexin....@windriver.com>
> 
> The API of function genlmsg_multicast_allns() has been changed by the
> mainline commit 56440d7ec28d ("genetlink: hold RCU in genlmsg_mcast()"),
> so we also have to adjust the invocation of this function in the SDK code.
> 
> Signed-off-by: Kevin Hao <kexin....@windriver.com>
> ---
> Hi Bruce,
> 
> Please merge this onto the following branches:
>   v5.15/standard/nxp-sdk-5.15/nxp-soc
>   v5.15/standard/preempt-rt/nxp-sdk-5.15/nxp-soc
>   v6.1/standard/nxp-sdk-6.1/nxp-soc
>   v6.1/standard/preempt-rt/nxp-sdk-6.1/nxp-soc
>   v6.6/standard/preempt-rt/nxp-sdk-6.6/nxp-soc

merged.

Bruce

> ---
>  net/tsn/genl_tsn.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/net/tsn/genl_tsn.c b/net/tsn/genl_tsn.c
> index 
> 1bdb4a01ce8f648ad525317b3e6ecafe13a8b45d..32b7aaf00bcf52a4c76d0328c7cf3e21c2a39e43
>  100644
> --- a/net/tsn/genl_tsn.c
> +++ b/net/tsn/genl_tsn.c
> @@ -3634,8 +3634,7 @@ static int tsn_multicast_to_user(unsigned long event,
>  
>       (void)genlmsg_end(skb, nlh);
>  
> -     res = genlmsg_multicast_allns(&tsn_family, skb, 0,
> -                                   TSN_MCGRP_QBV, GFP_ATOMIC);
> +     res = genlmsg_multicast_allns(&tsn_family, skb, 0, TSN_MCGRP_QBV);
>       skb = NULL;
>       if (res && res != -ESRCH) {
>               pr_err("genlmsg_multicast_allns error: %d\n", res);
> 
> ---
> base-commit: b5486768e9cf7809c87b0d8c08c4005cd59827a4
> change-id: 20241107-nxp-61e70e027165
> 
> Best regards,
> -- 
> Kevin Hao <haoke...@gmail.com>
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14547): 
https://lists.yoctoproject.org/g/linux-yocto/message/14547
Mute This Topic: https://lists.yoctoproject.org/mt/109438340/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to