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
nexedi
linux
Commits
767ac366
Commit
767ac366
authored
Sep 21, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/acme/llc-2.6
into nuts.ninka.net:/disk1/davem/BK/net-2.5
parents
4914ce2d
771ff27e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
14 deletions
+5
-14
net/llc/llc_core.c
net/llc/llc_core.c
+5
-8
net/llc/llc_sap.c
net/llc/llc_sap.c
+0
-6
No files found.
net/llc/llc_core.c
View file @
767ac366
...
@@ -79,17 +79,14 @@ void llc_del_sap(struct llc_sap *sap)
...
@@ -79,17 +79,14 @@ void llc_del_sap(struct llc_sap *sap)
*/
*/
struct
llc_sap
*
llc_sap_find
(
unsigned
char
sap_value
)
struct
llc_sap
*
llc_sap_find
(
unsigned
char
sap_value
)
{
{
struct
llc_sap
*
sap
=
NULL
;
struct
llc_sap
*
sap
;
struct
list_head
*
entry
;
read_lock_bh
(
&
llc_sap_list_lock
);
read_lock_bh
(
&
llc_sap_list_lock
);
list_for_each
(
entry
,
&
llc_sap_list
)
{
list_for_each_entry
(
sap
,
&
llc_sap_list
,
node
)
sap
=
list_entry
(
entry
,
struct
llc_sap
,
node
);
if
(
sap
->
laddr
.
lsap
==
sap_value
)
if
(
sap
->
laddr
.
lsap
==
sap_value
)
break
;
goto
out
;
}
sap
=
NULL
;
if
(
entry
==
&
llc_sap_list
)
/* not found */
out:
sap
=
NULL
;
read_unlock_bh
(
&
llc_sap_list_lock
);
read_unlock_bh
(
&
llc_sap_list_lock
);
return
sap
;
return
sap
;
}
}
...
...
net/llc/llc_sap.c
View file @
767ac366
...
@@ -315,9 +315,3 @@ void llc_sap_handler(struct llc_sap *sap, struct sk_buff *skb)
...
@@ -315,9 +315,3 @@ void llc_sap_handler(struct llc_sap *sap, struct sk_buff *skb)
}
else
}
else
kfree_skb
(
skb
);
kfree_skb
(
skb
);
}
}
EXPORT_SYMBOL
(
llc_save_primitive
);
EXPORT_SYMBOL
(
llc_build_and_send_test_pkt
);
EXPORT_SYMBOL
(
llc_build_and_send_ui_pkt
);
EXPORT_SYMBOL
(
llc_build_and_send_xid_pkt
);
EXPORT_SYMBOL
(
llc_sap_handler
);
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