Christophe, I think now we need to use new call "alloc_netdev(...)", to allocate "net_device" data structure. If we do this, NETIF_F_DYNALLOC flag is not required, and that might be the reason for this flag is removed/nomore supported. Earlier, people might be using "kmalloc()" or global memory to allocate net_device data structures. So this flag is necessary to inform free_netdevice() routine about how to free it. Thanks Suren. On Fri, 2005-04-22 at 05:23, Christophe Lucas wrote: > suren (suren@xxxxxxxxxxxxx) wrote: > > Hi, > > I am using 2.6.9 kernel, and observed that the following define is > > removed from netdevice.h. > > > > #define NETIF_F_DYNALLOC 16 /* Self-dectructable device. */ > > > > How to modifiy the code that was using this define? Any documentation > > link? > > Hi, > > After some search, I think this #define was removed from 2.5.66 ;) > But perhaps, I say mistakes. > > Have a nice day, > > ~Christophe -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/