From: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> Date: Fri, 8 Jul 2005 08:03:27 -0300
> Of course only the skbs created after the skb_alloc_extension() call would > be valid for the subsystem > that alloced the extension, would this be a problem? It might be. It is entirely possible, for example, for an old skb to pop up and appear in netfilter. I have no idea how we'd take care of that kind of issue. Perhaps we could explore some mechnism by which to indicate an extension was present when an SKB was allocated. If we ask for a pointer to an extension which was not there at SKB allocation time, we do a data area realloc with the new space size, and copy the old stuff over. This means that extensions have to be ordered in the extension area precisely as they were allocated. It also means you really cannot un-allocate. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
