Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
linux
Commits
dcf1b493
Commit
dcf1b493
authored
22 years ago
by
Ralf Bächle
Browse files
Options
Download
Email Patches
Plain Diff
Kill remaining sti().
parent
d03b376f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
include/net/ax25.h
include/net/ax25.h
+5
-0
net/netrom/af_netrom.c
net/netrom/af_netrom.c
+0
-1
No files found.
include/net/ax25.h
View file @
dcf1b493
...
...
@@ -298,6 +298,11 @@ extern ax25_route *ax25_rt_find_route(ax25_route *, ax25_address *,
extern
struct
sk_buff
*
ax25_rt_build_path
(
struct
sk_buff
*
,
ax25_address
*
,
ax25_address
*
,
ax25_digi
*
);
extern
void
ax25_rt_free
(
void
);
static
inline
void
ax25_put_route
(
ax25_route
*
ax25_rt
)
{
atomic_dec
(
&
ax25_rt
->
ref
);
}
/* ax25_std_in.c */
extern
int
ax25_std_frame_in
(
ax25_cb
*
,
struct
sk_buff
*
,
int
);
...
...
This diff is collapsed.
Click to expand it.
net/netrom/af_netrom.c
View file @
dcf1b493
...
...
@@ -778,7 +778,6 @@ static int nr_accept(struct socket *sock, struct socket *newsock, int flags)
do
{
if
((
skb
=
skb_dequeue
(
&
sk
->
receive_queue
))
==
NULL
)
{
if
(
flags
&
O_NONBLOCK
)
{
sti
();
return
-
EWOULDBLOCK
;
}
interruptible_sleep_on
(
sk
->
sleep
);
...
...
This diff is collapsed.
Click to expand it.
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