projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
338db08
)
llc: Use sock_graft() instead of by-hand version.
author
David S. Miller
<davem@davemloft.net>
Tue, 17 Jun 2008 08:21:03 +0000
(
01:21
-0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 17 Jun 2008 08:21:03 +0000
(
01:21
-0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/llc/af_llc.c
patch
|
blob
|
history
diff --git
a/net/llc/af_llc.c
b/net/llc/af_llc.c
index 97101dcde4c0c70179aca1e52a300307a0c8354c..5bcc452a247fb54338dc1fac77563df7d6c49f4a 100644
(file)
--- a/
net/llc/af_llc.c
+++ b/
net/llc/af_llc.c
@@
-128,10
+128,8
@@
static int llc_ui_send_data(struct sock* sk, struct sk_buff *skb, int noblock)
static void llc_ui_sk_init(struct socket *sock, struct sock *sk)
{
+ sock_graft(sk, sock);
sk->sk_type = sock->type;
- sk->sk_sleep = &sock->wait;
- sk->sk_socket = sock;
- sock->sk = sk;
sock->ops = &llc_ui_ops;
}