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
b992639f
Commit
b992639f
authored
Jan 08, 2004
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NETROM]: Use size_t for size in {send,recv}msg.
parent
d5231ae9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
net/netrom/af_netrom.c
net/netrom/af_netrom.c
+3
-3
No files found.
net/netrom/af_netrom.c
View file @
b992639f
...
...
@@ -1010,7 +1010,7 @@ int nr_rx_frame(struct sk_buff *skb, struct net_device *dev)
}
static
int
nr_sendmsg
(
struct
kiocb
*
iocb
,
struct
socket
*
sock
,
struct
msghdr
*
msg
,
in
t
len
)
struct
msghdr
*
msg
,
size_
t
len
)
{
struct
sock
*
sk
=
sock
->
sk
;
nr_cb
*
nr
=
nr_sk
(
sk
);
...
...
@@ -1119,11 +1119,11 @@ static int nr_sendmsg(struct kiocb *iocb, struct socket *sock,
}
static
int
nr_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
;
struct
sockaddr_ax25
*
sax
=
(
struct
sockaddr_ax25
*
)
msg
->
msg_name
;
in
t
copied
;
size_
t
copied
;
struct
sk_buff
*
skb
;
int
er
;
...
...
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