diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-04-13 21:52:48 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-13 21:52:48 -0700 |
commit | 4c821d753d5c097babd6609bcd85f08e254a3505 (patch) | |
tree | 597d86c6b81340e66adae5e127b27a428473cdc2 | |
parent | f37f0afb2916ccf287428983026261db78c7661a (diff) | |
download | kernel_samsung_aries-4c821d753d5c097babd6609bcd85f08e254a3505.zip kernel_samsung_aries-4c821d753d5c097babd6609bcd85f08e254a3505.tar.gz kernel_samsung_aries-4c821d753d5c097babd6609bcd85f08e254a3505.tar.bz2 |
[NET]: Fix kernel-doc for skb_segment
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>
-rw-r--r-- | net/core/skbuff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 0d0fd28..6087013 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -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) { |