Re: Linux 2.6.23.8

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Greg Kroah-Hartman
Date: Friday, November 16, 2007 - 11:38 am

diff --git a/Makefile b/Makefile
index c0feac2..435a3d7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 23
-EXTRAVERSION = .7
+EXTRAVERSION = .8
 NAME = Arr Matey! A Hairy Bilge Rat!
 
 # *DOCUMENTATION*
diff --git a/kernel/exit.c b/kernel/exit.c
index 993369e..096c27d 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -1362,8 +1362,7 @@ static int wait_task_stopped(struct task_struct *p, int delayed_group_leader,
 		int why = (p->ptrace & PT_PTRACED) ? CLD_TRAPPED : CLD_STOPPED;
 
 		exit_code = p->exit_code;
-		if (unlikely(!exit_code) ||
-		    unlikely(p->state & TASK_TRACED))
+		if (unlikely(!exit_code) || unlikely(p->exit_state))
 			goto bail_ref;
 		return wait_noreap_copyout(p, pid, uid,
 					   why, (exit_code << 8) | 0x7f,
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index f893e90..c9298a7 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -1012,6 +1012,9 @@ tcp_sacktag_write_queue(struct sock *sk, struct sk_buff *ack_skb, u32 prior_snd_
 	if (before(TCP_SKB_CB(ack_skb)->ack_seq, prior_snd_una - tp->max_window))
 		return 0;
 
+	if (!tp->packets_out)
+		goto out;
+
 	/* SACK fastpath:
 	 * if the only SACK change is the increase of the end_seq of
 	 * the first block then only apply that SACK block
@@ -1280,6 +1283,8 @@ tcp_sacktag_write_queue(struct sock *sk, struct sk_buff *ack_skb, u32 prior_snd_
 	    (!tp->frto_highmark || after(tp->snd_una, tp->frto_highmark)))
 		tcp_update_reordering(sk, ((tp->fackets_out + 1) - reord), 0);
 
+out:
+
 #if FASTRETRANS_DEBUG > 0
 	BUG_TRAP((int)tp->sacked_out >= 0);
 	BUG_TRAP((int)tp->lost_out >= 0);
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Linux 2.6.23.8, Greg Kroah-Hartman, (Fri Nov 16, 11:37 am)
Re: Linux 2.6.23.8, Greg Kroah-Hartman, (Fri Nov 16, 11:38 am)
Linux 2.6.23.2, Greg Kroah-Hartman, (Fri Nov 16, 11:39 am)
Re: Linux 2.6.23.2, Greg Kroah-Hartman, (Fri Nov 16, 11:39 am)
Linux 2.6.23.3, Greg Kroah-Hartman, (Fri Nov 16, 11:44 am)
Linux 2.6.23.4, Greg Kroah-Hartman, (Fri Nov 16, 11:46 am)
Re: Linux 2.6.23.4, Greg Kroah-Hartman, (Fri Nov 16, 11:46 am)
Linux 2.6.23.5, Greg Kroah-Hartman, (Fri Nov 16, 11:47 am)
Re: Linux 2.6.23.5, Greg Kroah-Hartman, (Fri Nov 16, 11:47 am)
Linux 2.6.23.6, Greg Kroah-Hartman, (Fri Nov 16, 11:48 am)
Re: Linux 2.6.23.6, Greg Kroah-Hartman, (Fri Nov 16, 11:49 am)
Linux 2.6.23.7, Greg Kroah-Hartman, (Fri Nov 16, 11:50 am)
Re: Linux 2.6.23.7, Greg Kroah-Hartman, (Fri Nov 16, 11:50 am)
Re: Linux 2.6.23.2, Mark Lord, (Fri Nov 16, 12:35 pm)
Re: Linux 2.6.23.2, Matti Aarnio, (Fri Nov 16, 12:39 pm)
Re: Linux 2.6.23.2, Matt Mackall, (Fri Nov 16, 12:57 pm)
Re: Linux 2.6.23.3, Michael Tokarev, (Fri Nov 16, 4:15 pm)
Re: Linux 2.6.23.3, Greg KH, (Fri Nov 16, 6:03 pm)
Re: Linux 2.6.23.2, Krzysztof Halasa, (Sat Nov 17, 6:38 pm)