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
fff336d5
Commit
fff336d5
authored
Feb 17, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DECNET]: Make second arg to dn_alloc_send_skb a size_t pointer.
parent
a9db38a2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/net/dn_nsp.h
include/net/dn_nsp.h
+1
-1
net/decnet/dn_nsp_out.c
net/decnet/dn_nsp_out.c
+1
-1
No files found.
include/net/dn_nsp.h
View file @
fff336d5
...
...
@@ -37,7 +37,7 @@ extern int dn_nsp_rx(struct sk_buff *);
extern
int
dn_nsp_backlog_rcv
(
struct
sock
*
sk
,
struct
sk_buff
*
skb
);
extern
struct
sk_buff
*
dn_alloc_skb
(
struct
sock
*
sk
,
int
size
,
int
pri
);
extern
struct
sk_buff
*
dn_alloc_send_skb
(
struct
sock
*
sk
,
in
t
*
size
,
int
noblock
,
int
*
err
);
extern
struct
sk_buff
*
dn_alloc_send_skb
(
struct
sock
*
sk
,
size_
t
*
size
,
int
noblock
,
int
*
err
);
#define NSP_REASON_OK 0
/* No error */
#define NSP_REASON_NR 1
/* No resources */
...
...
net/decnet/dn_nsp_out.c
View file @
fff336d5
...
...
@@ -141,7 +141,7 @@ struct sk_buff *dn_alloc_skb(struct sock *sk, int size, int pri)
* whole size thats been asked for (plus 11 bytes of header). If this
* fails, then we try for any size over 16 bytes for SOCK_STREAMS.
*/
struct
sk_buff
*
dn_alloc_send_skb
(
struct
sock
*
sk
,
in
t
*
size
,
int
noblock
,
int
*
err
)
struct
sk_buff
*
dn_alloc_send_skb
(
struct
sock
*
sk
,
size_
t
*
size
,
int
noblock
,
int
*
err
)
{
int
space
;
int
len
;
...
...
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