projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
006f68b
)
[NETROM]: Use socket helpers instead of direct fiddling with struct sock
author
Ralf Baechle DL5RB
<ralf@linux-mips.org>
Tue, 4 Jul 2006 02:31:14 +0000
(19:31 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 4 Jul 2006 02:31:14 +0000
(19:31 -0700)
Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netrom/af_netrom.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netrom/af_netrom.c
b/net/netrom/af_netrom.c
index eba6df054b1ff08766e6b7fc820e27ef040f7d37..389a4119e1b405a9cebbf11f4a9076ff4b2d95c4 100644
(file)
--- a/
net/netrom/af_netrom.c
+++ b/
net/netrom/af_netrom.c
@@
-800,7
+800,7
@@
static int nr_accept(struct socket *sock, struct socket *newsock, int flags)
/* Now attach up the new socket */
kfree_skb(skb);
- sk
->sk_ack_backlog--
;
+ sk
_acceptq_removed(sk)
;
newsock->sk = newsk;
out:
@@
-985,7
+985,7
@@
int nr_rx_frame(struct sk_buff *skb, struct net_device *dev)
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);