: Make LLC use sock_graft()
Subsystems (3)
David Miller
maintainerPATCH 1/1 : Make LLC use sock_graft()
Applied and pushed out to net-next-2.6
llc: Use sock_graft() instead of by-hand version.
Signed-off-by David S. Miller <[email protected]>
--- net/llc/af_llc.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)
net/llc/af_llc.c +1 -3
@@ -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; }
Signature · 1 line
1.5.5.1.308.g1fbb5
Em Tue, Jun 17, 2008 at 01:22:50AM -0700, David Miller escreveu:
Quoted 6 lines
Applied and pushed out to net-next-2.6
llc: Use
sock_graft()instead of by-hand version.Signed-off-by David S. Miller <[email protected]>
Thanks a lot
- Arnaldo