The veth_setup() routine and the VETH_FEATURES macro are also part of the netlink interface (referenced from struct rtnl_link_ops). Include them under the netlink code section comment.
Signed-off-by: Baruch Siach <bar...@tkos.co.il> --- drivers/net/veth.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/veth.c b/drivers/net/veth.c index c8186ffda1a3..791fc1e13bc4 100644 --- a/drivers/net/veth.c +++ b/drivers/net/veth.c @@ -292,6 +292,10 @@ static const struct net_device_ops veth_netdev_ops = { .ndo_get_iflink = veth_get_iflink, }; +/* + * netlink interface + */ + #define VETH_FEATURES (NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_ALL_TSO | \ NETIF_F_HW_CSUM | NETIF_F_RXCSUM | NETIF_F_HIGHDMA | \ NETIF_F_GSO_GRE | NETIF_F_GSO_UDP_TUNNEL | \ @@ -321,10 +325,6 @@ static void veth_setup(struct net_device *dev) dev->hw_enc_features = VETH_FEATURES; } -/* - * netlink interface - */ - static int veth_validate(struct nlattr *tb[], struct nlattr *data[]) { if (tb[IFLA_ADDRESS]) { -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html