Signed-off-by: Ralf Baechle DL5RB <[EMAIL PROTECTED]>
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);
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html