Fix kernel-doc for skb_segment
Subsystems (2)
PATCH 1/1 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 <[email protected]>
net/core/skbuff.c +2 -2
@@ -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) {
Signature · 2 lines
Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job.
From: Ben Hutchings <[email protected]>
Date: Mon, 7 Apr 2008 19:28:45 +0100
Quoted 4 lines
The kernel-doc comment for
skb_segmentis clearly wrong. This states what it actually does.Signed-off-by Ben Hutchings <[email protected]>
Applied to net-2.6, thanks Ben.