Skip to contentSkip to conversation

DIFF 2.4.20-rc1-pa7

parisc-linux Matthew Wilcox 2 participants 2 messages Nov 22, 2002 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 8 lines · Grant Grundler

Index: drivers/net/ppp_generic.c
===================================================================
RCS file: /var/cvs/linux/drivers/net/ppp_generic.c,v retrieving revision 1.14
diff -u -p -r1.14 ppp_generic.c

net/ppp_generic.c static ssize_t ppp_read(struct file *fil · line 395

Quoted 10 lines
net/ppp_generic.c +1 -1
@@ -387,9 +387,9 @@ static ssize_t ppp_read(struct file *fil
 	for (;;) {
 		set_current_state(TASK_INTERRUPTIBLE);
 		skb = skb_dequeue(&pf->rq);
+		ret = 0;
 		if (skb)
 			break;
-		ret = 0;
 		if (pf->dead)
 			break;
 		ret = -EAGAIN;

Uhh.. why have you made this change? It's clearly wrong and diverges from upstream.

Signature · 1 line
Revolutions do not require corporate support.
#3 lore raw
Quoted 2 lines · Matthew Wilcox

Uhh.. why have you made this change? It's clearly wrong and diverges from upstream.

reverted - I didn't see upstream had fixed it differently.

sorry,
grant