]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[NET]: Fix kernel-doc for skb_segment
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 14 Apr 2008 04:52:48 +0000 (21:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Apr 2008 04:52:48 +0000 (21:52 -0700)
The kernel-doc comment for skb_segment is clearly wrong.  This states
what it actually does.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c

index 0d0fd28a9041c1d84c1545bb15209d45bff52338..6087013396208e17e48d06047301eed6489a447c 100644 (file)
@@ -2131,8 +2131,8 @@ EXPORT_SYMBOL_GPL(skb_pull_rcsum);
  *     @features: features for the output path (see dev->features)
  *
  *     This function performs segmentation on the given skb.  It returns
- *     the segment at the given position.  It returns NULL if there are
- *     no more segments to generate, or when an error is encountered.
+ *     a pointer to the first in a list of new skbs for the segments.
+ *     In case of error it returns ERR_PTR(err).
  */
 struct sk_buff *skb_segment(struct sk_buff *skb, int features)
 {