On Sat, Sep 25, 2004 at 08:06:51AM +1000, herbert wrote:
I agree completely. I'm just saying that the current NLM_GOODSIZE
skb is the perfect scratch-pad so we don't need a new one. All we
need to do is to insert a helper call just before netlink_unicast
to copy and trim the packet in the places that need it.
Here is a demonstration of what I meant. Please note that this is
totally untested.
We could just make the last argument of netlink_unicast into a flag
so that it can do this directly.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt