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
2bc9c2cc
Commit
2bc9c2cc
authored
Jan 08, 2004
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ROSE]: Use size_t for size in {send,recv}msg.
parent
b992639f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
net/rose/af_rose.c
net/rose/af_rose.c
+4
-4
No files found.
net/rose/af_rose.c
View file @
2bc9c2cc
...
...
@@ -1010,7 +1010,7 @@ int rose_rx_call_request(struct sk_buff *skb, struct net_device *dev, struct ros
}
static
int
rose_sendmsg
(
struct
kiocb
*
iocb
,
struct
socket
*
sock
,
struct
msghdr
*
msg
,
in
t
len
)
struct
msghdr
*
msg
,
size_
t
len
)
{
struct
sock
*
sk
=
sock
->
sk
;
rose_cb
*
rose
=
rose_sk
(
sk
);
...
...
@@ -1174,15 +1174,15 @@ static int rose_sendmsg(struct kiocb *iocb, struct socket *sock,
static
int
rose_recvmsg
(
struct
kiocb
*
iocb
,
struct
socket
*
sock
,
struct
msghdr
*
msg
,
in
t
size
,
int
flags
)
struct
msghdr
*
msg
,
size_
t
size
,
int
flags
)
{
struct
sock
*
sk
=
sock
->
sk
;
rose_cb
*
rose
=
rose_sk
(
sk
);
struct
sockaddr_rose
*
srose
=
(
struct
sockaddr_rose
*
)
msg
->
msg_name
;
int
copied
,
qbit
;
size_t
copied
;
unsigned
char
*
asmptr
;
struct
sk_buff
*
skb
;
int
n
,
er
;
int
n
,
er
,
qbit
;
/*
* This works for seqpacket too. The receiver has ordered the queue for
...
...
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