/* Allocate abstract data object based on netlink attribute.  */
struct nl_data* nl_data_alloc_attr(struct nlattr *nla)
/* Allocate abstract data object based on netlink attribute.  */
struct nl_data* nl_data_alloc_attr(struct nlattr *nla)
{
	return nl_data_alloc(nla_data(nla), nla_len(nla));
}