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
e9e1bef3
Commit
e9e1bef3
authored
Jan 08, 2004
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PPPOE]: Use size_t for size in {send,recv}msg.
parent
39ae691d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/net/pppoe.c
drivers/net/pppoe.c
+3
-3
No files found.
drivers/net/pppoe.c
View file @
e9e1bef3
...
...
@@ -775,8 +775,8 @@ static int pppoe_ioctl(struct socket *sock, unsigned int cmd,
}
static
int
pppoe_sendmsg
(
struct
kiocb
*
iocb
,
struct
socket
*
sock
,
struct
msghdr
*
m
,
in
t
total_len
)
static
int
pppoe_sendmsg
(
struct
kiocb
*
iocb
,
struct
socket
*
sock
,
struct
msghdr
*
m
,
size_
t
total_len
)
{
struct
sk_buff
*
skb
=
NULL
;
struct
sock
*
sk
=
sock
->
sk
;
...
...
@@ -939,7 +939,7 @@ static struct ppp_channel_ops pppoe_chan_ops = {
};
static
int
pppoe_recvmsg
(
struct
kiocb
*
iocb
,
struct
socket
*
sock
,
struct
msghdr
*
m
,
in
t
total_len
,
int
flags
)
struct
msghdr
*
m
,
size_
t
total_len
,
int
flags
)
{
struct
sock
*
sk
=
sock
->
sk
;
struct
sk_buff
*
skb
=
NULL
;
...
...
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