Le 08/06/2015 20:35, Shrijeet Mukherjee a écrit :
From: Shrijeet Mukherjee <[email protected]>
[snip]
--- /dev/null
+++ b/drivers/net/vrf.c
[snip]
+
+static struct rtnl_link_ops vrf_link_ops __read_mostly = {
+ .kind = DRV_NAME,
+ .priv_size = sizeof(struct net_vrf),
+ .policy = vrf_nl_policy,
+ .newlink = vrf_newlink,
+ .dellink = vrf_dellink,
+ .setup = vrf_setup,
+ .validate = vrf_validate,
+ .maxtype = IFLA_VRF_MAX,
+};
It would be good to also have a .fill_info callback.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html