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
6723ab54
Commit
6723ab54
authored
Oct 18, 2006
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6]: Fix route.c warnings when multiple tables are disabled.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
6ba7511b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
net/ipv6/route.c
net/ipv6/route.c
+8
-3
No files found.
net/ipv6/route.c
View file @
6723ab54
...
...
@@ -94,9 +94,6 @@ static int ip6_dst_gc(void);
static
int
ip6_pkt_discard
(
struct
sk_buff
*
skb
);
static
int
ip6_pkt_discard_out
(
struct
sk_buff
*
skb
);
static
int
ip6_pkt_prohibit
(
struct
sk_buff
*
skb
);
static
int
ip6_pkt_prohibit_out
(
struct
sk_buff
*
skb
);
static
int
ip6_pkt_blk_hole
(
struct
sk_buff
*
skb
);
static
void
ip6_link_failure
(
struct
sk_buff
*
skb
);
static
void
ip6_rt_update_pmtu
(
struct
dst_entry
*
dst
,
u32
mtu
);
...
...
@@ -144,6 +141,10 @@ struct rt6_info ip6_null_entry = {
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
static
int
ip6_pkt_prohibit
(
struct
sk_buff
*
skb
);
static
int
ip6_pkt_prohibit_out
(
struct
sk_buff
*
skb
);
static
int
ip6_pkt_blk_hole
(
struct
sk_buff
*
skb
);
struct
rt6_info
ip6_prohibit_entry
=
{
.
u
=
{
.
dst
=
{
...
...
@@ -1768,6 +1769,8 @@ static int ip6_pkt_discard_out(struct sk_buff *skb)
return
ip6_pkt_discard
(
skb
);
}
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
static
int
ip6_pkt_prohibit
(
struct
sk_buff
*
skb
)
{
return
ip6_pkt_drop
(
skb
,
ICMPV6_ADM_PROHIBITED
);
...
...
@@ -1785,6 +1788,8 @@ static int ip6_pkt_blk_hole(struct sk_buff *skb)
return
0
;
}
#endif
/*
* Allocate a dst for local (unicast / anycast) address.
*/
...
...
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