[PULL 11/28] linux-user: handle netlink flag NLA_F_NESTED

2023-03-10 Thread Laurent Vivier
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

[PULL 11/28] linux-user: handle netlink flag NLA_F_NESTED

2023-03-08 Thread Laurent Vivier
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