The data is not released.

drivers/net/mv643xx_eth.c apart, each current caller issues
kfree_skb() when required.

Signed-off-by: Francois Romieu <[EMAIL PROTECTED]>

diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 85577a4..380e344 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -1235,7 +1235,7 @@ static inline int __skb_linearize(struct
  *     @skb: buffer to linarize
  *
  *     If there is no free memory -ENOMEM is returned, otherwise zero
- *     is returned and the old skb data released.
+ *     is returned.
  */
 static inline int skb_linearize(struct sk_buff *skb)
 {
@@ -1247,7 +1247,7 @@ static inline int skb_linearize(struct s
  *     @skb: buffer to process
  *
  *     If there is no free memory -ENOMEM is returned, otherwise zero
- *     is returned and the old skb data released.
+ *     is returned.
  */
 static inline int skb_linearize_cow(struct sk_buff *skb)
 {
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to