diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-09-22 13:29:08 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-09-22 13:29:08 +0200 |
commit | 8420e1b541fe92aee1d8d4d25d9e33eaca756a7b (patch) | |
tree | c427c8cfe59bfae22eac2dc4c325aa947f7cb0eb /net/llc/llc_conn.c | |
parent | [LLC]: Fix the accept path (diff) | |
download | linux-8420e1b541fe92aee1d8d4d25d9e33eaca756a7b.tar.xz linux-8420e1b541fe92aee1d8d4d25d9e33eaca756a7b.zip |
[LLC]: fix llc_ui_recvmsg, making it behave like tcp_recvmsg
In fact it is an exact copy of the parts that makes sense to LLC :-)
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net/llc/llc_conn.c')
-rw-r--r-- | net/llc/llc_conn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/llc/llc_conn.c b/net/llc/llc_conn.c index e10ce5adb104..042b24a8ca4c 100644 --- a/net/llc/llc_conn.c +++ b/net/llc/llc_conn.c @@ -120,8 +120,8 @@ int llc_conn_state_process(struct sock *sk, struct sk_buff *skb) sk->sk_socket->state = SS_UNCONNECTED; sk->sk_state = TCP_CLOSE; if (!sock_flag(sk, SOCK_DEAD)) { - sk->sk_state_change(sk); sock_set_flag(sk, SOCK_DEAD); + sk->sk_state_change(sk); } } kfree_skb(skb); |