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
32de91cf
Commit
32de91cf
authored
Jun 07, 2003
by
Andrew Morton
Committed by
Anton Blanchard
Jun 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ppc64: fixup for family/sk_family rename
Fix the ppc64 build for the great socket member renaming.
parent
8e6b0085
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
arch/ppc64/kernel/ioctl32.c
arch/ppc64/kernel/ioctl32.c
+1
-1
No files found.
arch/ppc64/kernel/ioctl32.c
View file @
32de91cf
...
@@ -801,7 +801,7 @@ static int routing_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
...
@@ -801,7 +801,7 @@ static int routing_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
struct
socket
*
mysock
=
sockfd_lookup
(
fd
,
&
ret
);
struct
socket
*
mysock
=
sockfd_lookup
(
fd
,
&
ret
);
if
(
mysock
&&
mysock
->
sk
&&
mysock
->
sk
->
family
==
AF_INET6
)
{
/* ipv6 */
if
(
mysock
&&
mysock
->
sk
&&
mysock
->
sk
->
sk_
family
==
AF_INET6
)
{
/* ipv6 */
ret
=
copy_from_user
(
&
r6
.
rtmsg_dst
,
&
(((
struct
in6_rtmsg32
*
)
arg
)
->
rtmsg_dst
),
ret
=
copy_from_user
(
&
r6
.
rtmsg_dst
,
&
(((
struct
in6_rtmsg32
*
)
arg
)
->
rtmsg_dst
),
3
*
sizeof
(
struct
in6_addr
));
3
*
sizeof
(
struct
in6_addr
));
ret
|=
__get_user
(
r6
.
rtmsg_type
,
&
(((
struct
in6_rtmsg32
*
)
arg
)
->
rtmsg_type
));
ret
|=
__get_user
(
r6
.
rtmsg_type
,
&
(((
struct
in6_rtmsg32
*
)
arg
)
->
rtmsg_type
));
...
...
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