Pavel Emelianov wrote: > +static const struct nla_policy veth_policy[VETH_INFO_MAX + 1] = { > + [VETH_INFO_MAC] = { .type = NLA_BINARY, .len = ETH_ALEN }, > + [VETH_INFO_PEER] = { .type = NLA_STRING }, > + [VETH_INFO_PEER_MAC] = { .type = NLA_BINARY, .len = ETH_ALEN }, > +};
Looks good, just one question. What happended to the IFLA_PARTNER attribute idea? I have a patch to allow specifying the initial MAC address for a device, IFLA_PARTNER would make the whole thing symetrical. _______________________________________________ Devel mailing list Devel@openvz.org https://openvz.org/mailman/listinfo/devel