On Tuesday, April 23, 2013 1:43 PM I wrote: > Here I present the conversion of everthing that is required to provide > the equivalent of g_ncm.ko with configfs. > > This is the second version of the series after discussion with Alan > and Michal's review - thank you guys. > > A branch will be available here (from 24th April 2013): > git://git.infradead.org/users/kmpark/linux-samsung usb-gadget-configfs > > v1..v2: > > - delayed registering a network interface until gadgets's bind > (per Alan's request) <snip> @Felipe: please _DO NOT_ take this series. After some more testing I discovered a bug. It is related to delaying registering a network interface until gadget's bind. Before the mentioned change a network interface was registered at the moment its corresponding usb function's directory was created, so it happened exactly once for each interface. After the change it is registered at function's bind and if a function happens to be used across several configurations, its network interface will be registered more than once which results in kernel BUG at net/core/dev.c:5143. I will post a corrected v3 series soon. Andrzej -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html