diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-09-22 07:29:08 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-09-22 07:29:08 -0400 |
commit | 8420e1b541fe92aee1d8d4d25d9e33eaca756a7b (patch) | |
tree | c427c8cfe59bfae22eac2dc4c325aa947f7cb0eb /net/llc/llc_conn.c | |
parent | d389424e00f9097cd24b3df4ca0ab7221f140eeb (diff) |
[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) | |||
120 | sk->sk_socket->state = SS_UNCONNECTED; | 120 | sk->sk_socket->state = SS_UNCONNECTED; |
121 | sk->sk_state = TCP_CLOSE; | 121 | sk->sk_state = TCP_CLOSE; |
122 | if (!sock_flag(sk, SOCK_DEAD)) { | 122 | if (!sock_flag(sk, SOCK_DEAD)) { |
123 | sk->sk_state_change(sk); | ||
124 | sock_set_flag(sk, SOCK_DEAD); | 123 | sock_set_flag(sk, SOCK_DEAD); |
124 | sk->sk_state_change(sk); | ||
125 | } | 125 | } |
126 | } | 126 | } |
127 | kfree_skb(skb); | 127 | kfree_skb(skb); |