diff options
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/skbuff.c | 4 | ||||
-rw-r--r-- | net/core/sock.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 4cd12d99b12e..4fe605fa6f8a 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -2225,8 +2225,8 @@ EXPORT_SYMBOL_GPL(skb_pull_rcsum); | |||
2225 | * @features: features for the output path (see dev->features) | 2225 | * @features: features for the output path (see dev->features) |
2226 | * | 2226 | * |
2227 | * This function performs segmentation on the given skb. It returns | 2227 | * This function performs segmentation on the given skb. It returns |
2228 | * the segment at the given position. It returns NULL if there are | 2228 | * a pointer to the first in a list of new skbs for the segments. |
2229 | * no more segments to generate, or when an error is encountered. | 2229 | * In case of error it returns ERR_PTR(err). |
2230 | */ | 2230 | */ |
2231 | struct sk_buff *skb_segment(struct sk_buff *skb, int features) | 2231 | struct sk_buff *skb_segment(struct sk_buff *skb, int features) |
2232 | { | 2232 | { |
diff --git a/net/core/sock.c b/net/core/sock.c index f2ccb1620dc4..c0ecbdcf75d8 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -1746,7 +1746,7 @@ void sock_init_data(struct socket *sock, struct sock *sk) | |||
1746 | sk->sk_rcvtimeo = MAX_SCHEDULE_TIMEOUT; | 1746 | sk->sk_rcvtimeo = MAX_SCHEDULE_TIMEOUT; |
1747 | sk->sk_sndtimeo = MAX_SCHEDULE_TIMEOUT; | 1747 | sk->sk_sndtimeo = MAX_SCHEDULE_TIMEOUT; |
1748 | 1748 | ||
1749 | sk->sk_stamp = ktime_set(-1L, -1L); | 1749 | sk->sk_stamp = ktime_set(-1L, 0); |
1750 | 1750 | ||
1751 | atomic_set(&sk->sk_refcnt, 1); | 1751 | atomic_set(&sk->sk_refcnt, 1); |
1752 | atomic_set(&sk->sk_drops, 0); | 1752 | atomic_set(&sk->sk_drops, 0); |