Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14954
b: refs/heads/master
c: 6736dc3
h: refs/heads/master
v: v3
  • Loading branch information
Neil Horman authored and David S. Miller committed Dec 3, 2005
1 parent 65a9f66 commit 27ef7d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: af2eb17bac41a116b73d85b3fb160405c32bea5b
refs/heads/master: 6736dc35e9e1b9c8084d5c362a429a3e8189af6b
1 change: 0 additions & 1 deletion trunk/drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ static void acpi_processor_idle(void)
smp_mb__after_clear_bit();
if (need_resched()) {
set_thread_flag(TIF_POLLING_NRFLAG);
local_irq_enable();
return;
}
}
Expand Down
10 changes: 5 additions & 5 deletions trunk/net/sctp/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -4743,11 +4743,6 @@ static struct sk_buff *sctp_skb_recv_datagram(struct sock *sk, int flags,
struct sk_buff *skb;
long timeo;

/* Caller is allowed not to check sk->sk_err before calling. */
error = sock_error(sk);
if (error)
goto no_packet;

timeo = sock_rcvtimeo(sk, noblock);

SCTP_DEBUG_PRINTK("Timeout: timeo: %ld, MAX: %ld.\n",
Expand All @@ -4774,6 +4769,11 @@ static struct sk_buff *sctp_skb_recv_datagram(struct sock *sk, int flags,
if (skb)
return skb;

/* Caller is allowed not to check sk->sk_err before calling. */
error = sock_error(sk);
if (error)
goto no_packet;

if (sk->sk_shutdown & RCV_SHUTDOWN)
break;

Expand Down

0 comments on commit 27ef7d2

Please sign in to comment.