Subject: Re: [PATCH net-next 1/1] veth: Support bonding events

From: Jakub Kicinski <[email-masked]>
Date: Mon, 28 Mar 2022 19:17:53 -0700

On Mon, 28 Mar 2022 10:14:17 +0200 Alexandra Winter wrote:
> +static bool _is_veth(const struct net_device *dev)

netif_is_veth()?

> +{
> +	return (dev->netdev_ops->ndo_open == veth_open);

Why compare ndo_open and not entire netdev_ops or rtnl_link_ops?

> +}