Re: [PATCH v2 4/4] linux-user: handle netlink flag NLA_F_NESTED

2023-02-20 Thread Mathis MARION
On 20/02/2023 09:58, Mathis Marion wrote: 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 fo

[PATCH v2 4/4] linux-user: handle netlink flag NLA_F_NESTED

2023-02-20 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