Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
1b7fe593
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
1b7fe593
编写于
14年前
作者:
D
David S. Miller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ipv4: Kill flowi arg to fib_select_multipath()
Completely unused. Signed-off-by:
N
David S. Miller
<
davem@davemloft.net
>
上级
ff3fccb3
无相关合并请求
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
4 addition
and
4 deletion
+4
-4
include/net/ip_fib.h
include/net/ip_fib.h
+1
-1
net/ipv4/fib_semantics.c
net/ipv4/fib_semantics.c
+1
-1
net/ipv4/route.c
net/ipv4/route.c
+2
-2
未找到文件。
include/net/ip_fib.h
浏览文件 @
1b7fe593
...
...
@@ -230,7 +230,7 @@ extern int fib_sync_down_dev(struct net_device *dev, int force);
extern
int
fib_sync_down_addr
(
struct
net
*
net
,
__be32
local
);
extern
void
fib_update_nh_saddrs
(
struct
net_device
*
dev
);
extern
int
fib_sync_up
(
struct
net_device
*
dev
);
extern
void
fib_select_multipath
(
const
struct
flowi
*
flp
,
struct
fib_result
*
res
);
extern
void
fib_select_multipath
(
struct
fib_result
*
res
);
/* Exported by fib_trie.c */
extern
void
fib_trie_init
(
void
);
...
...
This diff is collapsed.
Click to expand it.
net/ipv4/fib_semantics.c
浏览文件 @
1b7fe593
...
...
@@ -1210,7 +1210,7 @@ int fib_sync_up(struct net_device *dev)
* The algorithm is suboptimal, but it provides really
* fair weighted route distribution.
*/
void
fib_select_multipath
(
const
struct
flowi
*
flp
,
struct
fib_result
*
res
)
void
fib_select_multipath
(
struct
fib_result
*
res
)
{
struct
fib_info
*
fi
=
res
->
fi
;
int
w
;
...
...
This diff is collapsed.
Click to expand it.
net/ipv4/route.c
浏览文件 @
1b7fe593
...
...
@@ -2048,7 +2048,7 @@ static int ip_mkroute_input(struct sk_buff *skb,
#ifdef CONFIG_IP_ROUTE_MULTIPATH
if
(
res
->
fi
&&
res
->
fi
->
fib_nhs
>
1
)
fib_select_multipath
(
fl
,
res
);
fib_select_multipath
(
res
);
#endif
/* create a routing cache entry */
...
...
@@ -2598,7 +2598,7 @@ static struct rtable *ip_route_output_slow(struct net *net,
#ifdef CONFIG_IP_ROUTE_MULTIPATH
if
(
res
.
fi
->
fib_nhs
>
1
&&
fl
.
oif
==
0
)
fib_select_multipath
(
&
fl
,
&
res
);
fib_select_multipath
(
&
res
);
else
#endif
if
(
!
res
.
prefixlen
&&
res
.
type
==
RTN_UNICAST
&&
!
fl
.
oif
)
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录
反馈
建议
客服
返回
顶部