diff options
author | Jochen Friedrich <jochen@scram.de> | 2005-09-22 03:46:44 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-09-22 03:46:44 -0400 |
commit | 5564af21ae7900889c5151e5b16bd42cdda11a77 (patch) | |
tree | 37dc0ade71e1a495ad9c2fc216dabb264a1ef852 /net/llc/af_llc.c | |
parent | cf309e3fb863b7a245b91f816193957f6daf786f (diff) |
[LLC]: Fix for Bugzilla ticket #5157
Signed-off-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net/llc/af_llc.c')
-rw-r--r-- | net/llc/af_llc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c index 0607cd3fd12c..3361ae900e2b 100644 --- a/net/llc/af_llc.c +++ b/net/llc/af_llc.c | |||
@@ -418,9 +418,9 @@ static int llc_ui_connect(struct socket *sock, struct sockaddr *uaddr, | |||
418 | rc = llc_ui_autobind(sock, addr); | 418 | rc = llc_ui_autobind(sock, addr); |
419 | if (rc) | 419 | if (rc) |
420 | goto out; | 420 | goto out; |
421 | llc->daddr.lsap = addr->sllc_sap; | ||
422 | memcpy(llc->daddr.mac, addr->sllc_mac, IFHWADDRLEN); | ||
423 | } | 421 | } |
422 | llc->daddr.lsap = addr->sllc_sap; | ||
423 | memcpy(llc->daddr.mac, addr->sllc_mac, IFHWADDRLEN); | ||
424 | sock->state = SS_CONNECTING; | 424 | sock->state = SS_CONNECTING; |
425 | sk->sk_state = TCP_SYN_SENT; | 425 | sk->sk_state = TCP_SYN_SENT; |
426 | llc->link = llc_ui_next_link_no(llc->sap->laddr.lsap); | 426 | llc->link = llc_ui_next_link_no(llc->sap->laddr.lsap); |