Re: [PATCH 3/5] inet: Add ip_make_skb and ip_send_skb

Eric Dumazet
2011-03-01T05:31:44Z

Le lundi 28 février 2011 à 19:41 +0800, Herbert Xu a écrit :
> inet: Add ip_make_skb and ip_send_skb
>
> This patch adds the helper ip_make_skb which is like ip_append_data
> and ip_push_pending_frames all rolled into one, except that it does
> not send the skb produced. The sending part is carried out by
> ip_send_skb, which the transport protocol can call after it has
> tweaked the skb.
>
> It is meant to be called in cases where corking is not used should
> have a one-to-one correspondence to sendmsg.
>
> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Acked-by: Eric Dumazet <eric.dumazet@gmail.com>