netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [NETROM] Use socket helpers instead of direct fiddling with struct sock
@ 2006-06-30 13:46 Ralf Baechle
  2006-07-04  2:31 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Ralf Baechle @ 2006-06-30 13:46 UTC (permalink / raw)
  To: David S. Miller, netdev

Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org>

 net/netrom/af_netrom.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-net/net/netrom/af_netrom.c
===================================================================
--- linux-net.orig/net/netrom/af_netrom.c	2006-06-23 22:40:26.000000000 +0100
+++ linux-net/net/netrom/af_netrom.c	2006-06-23 22:43:14.000000000 +0100
@@ -801,7 +801,7 @@ static int nr_accept(struct socket *sock
 
 	/* Now attach up the new socket */
 	kfree_skb(skb);
-	sk->sk_ack_backlog--;
+	sk_acceptq_removed(sk);
 	newsock->sk = newsk;
 
 out:
@@ -986,7 +986,7 @@ int nr_rx_frame(struct sk_buff *skb, str
 	nr_make->vr        = 0;
 	nr_make->vl        = 0;
 	nr_make->state     = NR_STATE_3;
-	sk->sk_ack_backlog++;
+	sk_acceptq_added(sk);
 
 	nr_insert_socket(make);
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [NETROM] Use socket helpers instead of direct fiddling with struct sock
  2006-06-30 13:46 [NETROM] Use socket helpers instead of direct fiddling with struct sock Ralf Baechle
@ 2006-07-04  2:31 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2006-07-04  2:31 UTC (permalink / raw)
  To: ralf; +Cc: netdev

From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 30 Jun 2006 14:46:48 +0100

> Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org>

Applied, thanks Ralf.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-04  2:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30 13:46 [NETROM] Use socket helpers instead of direct fiddling with struct sock Ralf Baechle
2006-07-04  2:31 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).