Thread (15 messages) 15 messages, 3 authors, 2013-09-02

Re: [PATCH net-next v12 06/11] vxlan: add ipv6 support

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2013-08-31 17:27:29

On Sat, 31 Aug 2013 13:44:33 +0800
Cong Wang [off-list ref] wrote:
+#if IS_ENABLED(CONFIG_IPV6)
+	} else {
+		ipv6_stub->ipv6_sock_mc_join(sk, ifindex,
+					     &ip->sin6.sin6_addr);
+#endif
This isn't safe against IPv6 module getting unloaded. You either
have to figure out a reference count method, or disable IPv6
module unload.

Since it can only be forced unload anyway, I still argue
it should just be disabled (by removing the module exit hook
and code).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help