diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-31 12:43:41 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-31 12:43:41 -0400 |
commit | 85e9ca333d03fbd56b9e123c8456f0d98e20faad (patch) | |
tree | 7bb15ada5f536950efa23ad60ea9eea60380ca1c /net/llc/af_llc.c | |
parent | a300bec952127d9a15e666b391bb35c9aecb3002 (diff) | |
parent | 6e86841d05f371b5b9b86ce76c02aaee83352298 (diff) |
Merge branch 'linus' into timers/hpet
Diffstat (limited to 'net/llc/af_llc.c')
-rw-r--r-- | net/llc/af_llc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c index 97101dcde4c0..5bcc452a247f 100644 --- 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) | |||
128 | 128 | ||
129 | static void llc_ui_sk_init(struct socket *sock, struct sock *sk) | 129 | static void llc_ui_sk_init(struct socket *sock, struct sock *sk) |
130 | { | 130 | { |
131 | sock_graft(sk, sock); | ||
131 | sk->sk_type = sock->type; | 132 | sk->sk_type = sock->type; |
132 | sk->sk_sleep = &sock->wait; | ||
133 | sk->sk_socket = sock; | ||
134 | sock->sk = sk; | ||
135 | sock->ops = &llc_ui_ops; | 133 | sock->ops = &llc_ui_ops; |
136 | } | 134 | } |
137 | 135 | ||