lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20220328191753.33b1910e@kernel.org> Date: Mon, 28 Mar 2022 19:17:53 -0700 From: Jakub Kicinski <kuba@...nel.org> To: Alexandra Winter <wintera@...ux.ibm.com> Cc: "David S. Miller" <davem@...emloft.net>, Paolo Abeni <pabeni@...hat.com>, Alexei Starovoitov <ast@...nel.org>, Daniel Borkmann <daniel@...earbox.net>, Jesper Dangaard Brouer <hawk@...nel.org>, John Fastabend <john.fastabend@...il.com>, Andrii Nakryiko <andrii@...nel.org>, Martin KaFai Lau <kafai@...com>, Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>, KP Singh <kpsingh@...nel.org>, netdev@...r.kernel.org, linux-s390@...r.kernel.org, Heiko Carstens <hca@...ux.ibm.com> Subject: Re: [PATCH net-next 1/1] veth: Support bonding events 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? > +}
Powered by blists - more mailing lists