Re: [PATCH v3] tcp: splice as many packets as possible at once
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2009-01-27 10:10:56
Also in:
lkml
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2009-01-27 10:10:56
Also in:
lkml
On Tue, Jan 27, 2009 at 07:54:18AM +0000, Jarek Poplawski wrote:
Yes, but ip_append_data() (and skb_append_datato_frags() for NETIF_F_UFO only, so currently not a problem), uses this differently, and these pages in sk->sk_sndmsg_page could leak or be used after kfree. (I didn't track locking in these other places).
It'll be freed when the socket is freed so that should be fine. 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