Searched hist:"2 d4baff8" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | skbuff.h | 2d4baff8 Mon Nov 26 09:11:19 CST 2007 Herbert Xu <herbert@gondor.apana.org.au> [SKBUFF]: Free old skb properly in skb_morph
The skb_morph function only freed the data part of the dst skb, but leaked the auxiliary data such as the netfilter fields. This patch fixes this by moving the relevant parts from __kfree_skb to skb_release_all and calling it in skb_morph.
It also makes kfree_skbmem static since it's no longer called anywhere else and it now no longer does skb_release_data.
Thanks to Yasuyuki KOZAKAI for finding this problem and posting a patch for it.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2d4baff8 Mon Nov 26 09:11:19 CST 2007 Herbert Xu <herbert@gondor.apana.org.au> [SKBUFF]: Free old skb properly in skb_morph The skb_morph function only freed the data part of the dst skb, but leaked the auxiliary data such as the netfilter fields. This patch fixes this by moving the relevant parts from __kfree_skb to skb_release_all and calling it in skb_morph. It also makes kfree_skbmem static since it's no longer called anywhere else and it now no longer does skb_release_data. Thanks to Yasuyuki KOZAKAI for finding this problem and posting a patch for it. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
/openbmc/linux/net/core/ |
H A D | skbuff.c | 2d4baff8 Mon Nov 26 09:11:19 CST 2007 Herbert Xu <herbert@gondor.apana.org.au> [SKBUFF]: Free old skb properly in skb_morph
The skb_morph function only freed the data part of the dst skb, but leaked the auxiliary data such as the netfilter fields. This patch fixes this by moving the relevant parts from __kfree_skb to skb_release_all and calling it in skb_morph.
It also makes kfree_skbmem static since it's no longer called anywhere else and it now no longer does skb_release_data.
Thanks to Yasuyuki KOZAKAI for finding this problem and posting a patch for it.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 2d4baff8 Mon Nov 26 09:11:19 CST 2007 Herbert Xu <herbert@gondor.apana.org.au> [SKBUFF]: Free old skb properly in skb_morph The skb_morph function only freed the data part of the dst skb, but leaked the auxiliary data such as the netfilter fields. This patch fixes this by moving the relevant parts from __kfree_skb to skb_release_all and calling it in skb_morph. It also makes kfree_skbmem static since it's no longer called anywhere else and it now no longer does skb_release_data. Thanks to Yasuyuki KOZAKAI for finding this problem and posting a patch for it. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|