projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf309e3
)
[LLC]: Fix for Bugzilla ticket #5157
author
Jochen Friedrich
<jochen@scram.de>
Thu, 22 Sep 2005 07:46:44 +0000
(
04:46
-0300)
committer
Arnaldo Carvalho de Melo
<acme@mandriva.com>
Thu, 22 Sep 2005 07:46:44 +0000
(
04:46
-0300)
Signed-off-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/llc/af_llc.c
patch
|
blob
|
history
diff --git
a/net/llc/af_llc.c
b/net/llc/af_llc.c
index 0607cd3fd12ce995d3a6723cfbd45365a0bd4873..3361ae900e2bb35e6bac8a268ea243903a1a7f6d 100644
(file)
--- 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,
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);