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
ddc31ce3
Commit
ddc31ce3
authored
May 29, 2007
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV4]: Kill references to bogus non-existent CONFIG_IP_NOSIOCRT
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
f282d45c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
net/ipv4/fib_frontend.c
net/ipv4/fib_frontend.c
+0
-11
No files found.
net/ipv4/fib_frontend.c
View file @
ddc31ce3
...
@@ -250,8 +250,6 @@ int fib_validate_source(__be32 src, __be32 dst, u8 tos, int oif,
...
@@ -250,8 +250,6 @@ int fib_validate_source(__be32 src, __be32 dst, u8 tos, int oif,
return
-
EINVAL
;
return
-
EINVAL
;
}
}
#ifndef CONFIG_IP_NOSIOCRT
static
inline
__be32
sk_extract_addr
(
struct
sockaddr
*
addr
)
static
inline
__be32
sk_extract_addr
(
struct
sockaddr
*
addr
)
{
{
return
((
struct
sockaddr_in
*
)
addr
)
->
sin_addr
.
s_addr
;
return
((
struct
sockaddr_in
*
)
addr
)
->
sin_addr
.
s_addr
;
...
@@ -443,15 +441,6 @@ int ip_rt_ioctl(unsigned int cmd, void __user *arg)
...
@@ -443,15 +441,6 @@ int ip_rt_ioctl(unsigned int cmd, void __user *arg)
return
-
EINVAL
;
return
-
EINVAL
;
}
}
#else
int
ip_rt_ioctl
(
unsigned
int
cmd
,
void
*
arg
)
{
return
-
EINVAL
;
}
#endif
struct
nla_policy
rtm_ipv4_policy
[
RTA_MAX
+
1
]
__read_mostly
=
{
struct
nla_policy
rtm_ipv4_policy
[
RTA_MAX
+
1
]
__read_mostly
=
{
[
RTA_DST
]
=
{
.
type
=
NLA_U32
},
[
RTA_DST
]
=
{
.
type
=
NLA_U32
},
[
RTA_SRC
]
=
{
.
type
=
NLA_U32
},
[
RTA_SRC
]
=
{
.
type
=
NLA_U32
},
...
...
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