Le jeudi 17 mars 2011 Ã 08:01 +0000, Jan Beulich a Ãcrit : > >>> On 16.03.11 at 16:24, Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> > wrote: > > On Wed, 16 Mar 2011 12:34:19 +0000 > > "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote: > > > >> With BRIDGE=y and IPV6=m commit > >> fe29ec41aaa51902aebd63658dfb04fe6fea8be5 ("bridge: Use IPv6 > >> link-local address for multicast listener queries") causes the build to > >> break. > > > > Rather than continue with the config games, lets just make the necessary > > ipv6 pieces accessible. > > The below (however ugly it may look) seems to do the trick for me, > for this particular symbol. Possibly other symbols need doing the > same (didn't check which ones e.g. infiniband depends on), so > some sort of abstraction might be desirable to make the whole > thing look less ugly. You should check how things are properly done with RCU, because you must make sure the module unload wont delete text another cpu is using. net code usually use synchronize_{rcu|net}() calls. example : net/ipv4/netfilter/nf_nat_sip.c static void __exit nf_nat_sip_fini(void) { rcu_assign_pointer(nf_nat_sip_hook, NULL); rcu_assign_pointer(nf_nat_sip_seq_adjust_hook, NULL); rcu_assign_pointer(nf_nat_sip_expect_hook, NULL); rcu_assign_pointer(nf_nat_sdp_addr_hook, NULL); rcu_assign_pointer(nf_nat_sdp_port_hook, NULL); rcu_assign_pointer(nf_nat_sdp_session_hook, NULL); rcu_assign_pointer(nf_nat_sdp_media_hook, NULL); synchronize_rcu(); } _______________________________________________ Bridge mailing list Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/bridge