summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f4a476d)
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,28)
dev->netdev_ops = &veth_netdev_ops;
#endif
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,28)
dev->netdev_ops = &veth_netdev_ops;
#endif
- dev->destructor = free_netdev;
+ dev->priv_destructor = free_netdev;
+ dev->needs_free_netdev = false;
/* Fill in device structure with ethernet-generic values. */
dev->mtu = (MICVETH_MAX_PACKET_SIZE);
/* Fill in device structure with ethernet-generic values. */
dev->mtu = (MICVETH_MAX_PACKET_SIZE);
-micveth_validate(struct nlattr *tb[], struct nlattr *data[])
+micveth_validate(struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *dummy)
{
if (tb[IFLA_ADDRESS]) {
if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN)
{
if (tb[IFLA_ADDRESS]) {
if (nla_len(tb[IFLA_ADDRESS]) != ETH_ALEN)