Skip to content
  • Vlad Yasevich's avatar
    ipv6: introduce ipv6_make_skb · 6422398c
    Vlad Yasevich authored
    This commit is very similar to
    commit 1c32c5ad
    
    
    Author: Herbert Xu <herbert@gondor.apana.org.au>
    Date:   Tue Mar 1 02:36:47 2011 +0000
    
        inet: Add ip_make_skb and ip_finish_skb
    
    It adds IPv6 version of the helpers ip6_make_skb and ip6_finish_skb.
    
    The job of ip6_make_skb is to collect messages into an ipv6 packet
    and poplulate ipv6 eader.  The job of ip6_finish_skb is to transmit
    the generated skb.  Together they replicated the job of
    ip6_push_pending_frames() while also provide the capability to be
    called independently.  This will be needed to add lockless UDP sendmsg
    support.
    
    Signed-off-by: default avatarVladislav Yasevich <vyasevic@redhat.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    6422398c