Re: [PATCH v3 2/2] linux-user: handle netlink flag NLA_F_NESTED

2023-03-07 Thread Laurent Vivier
Le 07/03/2023 à 16:42, Mathis Marion a écrit : From: Mathis Marion Newer kernel versions require this flag to be present contrary to older ones. Depending on the libnl version it is added or not. Typically when using rtnl_link_inet6_set_addr_gen_mode, the netlink packet generated may contain t

Re: [PATCH v3 2/2] linux-user: handle netlink flag NLA_F_NESTED

2023-03-07 Thread Laurent Vivier
Le 07/03/2023 à 16:42, Mathis Marion a écrit : From: Mathis Marion Newer kernel versions require this flag to be present contrary to older ones. Depending on the libnl version it is added or not. Typically when using rtnl_link_inet6_set_addr_gen_mode, the netlink packet generated may contain t

[PATCH v3 2/2] linux-user: handle netlink flag NLA_F_NESTED

2023-03-07 Thread Mathis Marion
From: Mathis Marion Newer kernel versions require this flag to be present contrary to older ones. Depending on the libnl version it is added or not. Typically when using rtnl_link_inet6_set_addr_gen_mode, the netlink packet generated may contain the following attribute: with libnl 3.4 {nla_l