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: <20101113093545.6fe9c077@nehalam> Date: Sat, 13 Nov 2010 09:35:45 -0800 From: Stephen Hemminger <shemminger@...ux-foundation.org> To: Eric Dumazet <eric.dumazet@...il.com> Cc: David Miller <davem@...emloft.net>, netdev <netdev@...r.kernel.org> Subject: Re: [PATCH net-next-2.6] bridge: add __rcu annotations On Sat, 13 Nov 2010 09:15:28 +0100 Eric Dumazet <eric.dumazet@...il.com> wrote: > diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h > index 578debb..ffbd177 100644 > --- a/include/linux/netdevice.h > +++ b/include/linux/netdevice.h > @@ -996,7 +996,10 @@ struct net_device { > #endif > > rx_handler_func_t *rx_handler; > - void *rx_handler_data; > + union { > + void *rx_handler_data; > + struct net_bridge_port __rcu *br_port_rcu; > + }; > > struct netdev_queue __rcu *ingress_queue; I don't like making the generic hook typed again. We don't do this for other callbacks, timers, workqueues, ... Why is it necessary for RCU notation. -- -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists