Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
83808320
Commit
83808320
authored
Sep 27, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/home/acme/BK/llc-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5
parents
2c1c2abf
6befa2af
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
include/net/llc_conn.h
include/net/llc_conn.h
+0
-1
net/llc/llc_main.c
net/llc/llc_main.c
+2
-2
No files found.
include/net/llc_conn.h
View file @
83808320
...
@@ -21,7 +21,6 @@ struct llc_timer {
...
@@ -21,7 +21,6 @@ struct llc_timer {
};
};
struct
llc_opt
{
struct
llc_opt
{
struct
list_head
node
;
/* entry in sap->sk_list.list */
struct
sock
*
sk
;
/* sock that has this llc_opt */
struct
sock
*
sk
;
/* sock that has this llc_opt */
struct
sockaddr_llc
addr
;
/* address sock is bound to */
struct
sockaddr_llc
addr
;
/* address sock is bound to */
u8
state
;
/* state of connection */
u8
state
;
/* state of connection */
...
...
net/llc/llc_main.c
View file @
83808320
...
@@ -70,7 +70,7 @@ struct llc_sap *llc_sap_alloc(void)
...
@@ -70,7 +70,7 @@ struct llc_sap *llc_sap_alloc(void)
memset
(
sap
,
0
,
sizeof
(
*
sap
));
memset
(
sap
,
0
,
sizeof
(
*
sap
));
sap
->
state
=
LLC_SAP_STATE_ACTIVE
;
sap
->
state
=
LLC_SAP_STATE_ACTIVE
;
memcpy
(
sap
->
laddr
.
mac
,
llc_main_station
.
mac_sa
,
ETH_ALEN
);
memcpy
(
sap
->
laddr
.
mac
,
llc_main_station
.
mac_sa
,
ETH_ALEN
);
spin_
lock_init
(
&
sap
->
sk_list
.
lock
);
rw
lock_init
(
&
sap
->
sk_list
.
lock
);
}
}
return
sap
;
return
sap
;
}
}
...
@@ -639,7 +639,7 @@ static int __init llc_init(void)
...
@@ -639,7 +639,7 @@ static int __init llc_init(void)
printk
(
llc_banner
);
printk
(
llc_banner
);
INIT_LIST_HEAD
(
&
llc_main_station
.
sap_list
.
list
);
INIT_LIST_HEAD
(
&
llc_main_station
.
sap_list
.
list
);
spin_
lock_init
(
&
llc_main_station
.
sap_list
.
lock
);
rw
lock_init
(
&
llc_main_station
.
sap_list
.
lock
);
skb_queue_head_init
(
&
llc_main_station
.
mac_pdu_q
);
skb_queue_head_init
(
&
llc_main_station
.
mac_pdu_q
);
skb_queue_head_init
(
&
llc_main_station
.
ev_q
.
list
);
skb_queue_head_init
(
&
llc_main_station
.
ev_q
.
list
);
spin_lock_init
(
&
llc_main_station
.
ev_q
.
lock
);
spin_lock_init
(
&
llc_main_station
.
ev_q
.
lock
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment