• Herbert Xu's avatar
    [SKBUFF]: Add skb_morph · e0053ec0
    Herbert Xu authored
    This patch creates a new function skb_morph that's just like skb_clone
    except that it lets user provide the spare skb that will be overwritten
    by the one that's to be cloned.
    
    This will be used by IP fragment reassembly so that we get back the same
    skb that went in last (rather than the head skb that we get now which
    requires us to carry around double pointers all over the place).
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    e0053ec0
skbuff.h 49.1 KB