[LLC]: Fix for Bugzilla ticket #5157
Signed-off-by: Jochen Friedrich <jochen@scram.de> Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
Родитель
cf309e3fb8
Коммит
5564af21ae
|
@ -418,9 +418,9 @@ static int llc_ui_connect(struct socket *sock, struct sockaddr *uaddr,
|
|||
rc = llc_ui_autobind(sock, addr);
|
||||
if (rc)
|
||||
goto out;
|
||||
llc->daddr.lsap = addr->sllc_sap;
|
||||
memcpy(llc->daddr.mac, addr->sllc_mac, IFHWADDRLEN);
|
||||
}
|
||||
llc->daddr.lsap = addr->sllc_sap;
|
||||
memcpy(llc->daddr.mac, addr->sllc_mac, IFHWADDRLEN);
|
||||
sock->state = SS_CONNECTING;
|
||||
sk->sk_state = TCP_SYN_SENT;
|
||||
llc->link = llc_ui_next_link_no(llc->sap->laddr.lsap);
|
||||
|
|
Загрузка…
Ссылка в новой задаче