Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
4ada8107
cloud-kernel
项目概览
openanolis
/
cloud-kernel
11 个月 前同步成功
通知
150
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4ada8107
编写于
3月 17, 2009
作者:
D
David S. Miller
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6
上级
303c6a02
d1238d53
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
10 addition
and
8 deletion
+10
-8
include/net/netfilter/nf_conntrack_core.h
include/net/netfilter/nf_conntrack_core.h
+2
-1
net/ipv6/netfilter/nf_conntrack_reasm.c
net/ipv6/netfilter/nf_conntrack_reasm.c
+4
-4
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_core.c
+1
-1
net/netfilter/nf_conntrack_netlink.c
net/netfilter/nf_conntrack_netlink.c
+1
-0
net/netfilter/nf_conntrack_proto_tcp.c
net/netfilter/nf_conntrack_proto_tcp.c
+2
-2
未找到文件。
include/net/netfilter/nf_conntrack_core.h
浏览文件 @
4ada8107
...
...
@@ -62,7 +62,8 @@ static inline int nf_conntrack_confirm(struct sk_buff *skb)
if
(
ct
&&
ct
!=
&
nf_conntrack_untracked
)
{
if
(
!
nf_ct_is_confirmed
(
ct
)
&&
!
nf_ct_is_dying
(
ct
))
ret
=
__nf_conntrack_confirm
(
skb
);
nf_ct_deliver_cached_events
(
ct
);
if
(
likely
(
ret
==
NF_ACCEPT
))
nf_ct_deliver_cached_events
(
ct
);
}
return
ret
;
}
...
...
net/ipv6/netfilter/nf_conntrack_reasm.c
浏览文件 @
4ada8107
...
...
@@ -528,14 +528,14 @@ find_prev_fhdr(struct sk_buff *skb, u8 *prevhdrp, int *prevhoff, int *fhoff)
if
(
!
ipv6_ext_hdr
(
nexthdr
))
{
return
-
1
;
}
if
(
len
<
(
int
)
sizeof
(
struct
ipv6_opt_hdr
))
{
pr_debug
(
"too short
\n
"
);
return
-
1
;
}
if
(
nexthdr
==
NEXTHDR_NONE
)
{
pr_debug
(
"next header is none
\n
"
);
return
-
1
;
}
if
(
len
<
(
int
)
sizeof
(
struct
ipv6_opt_hdr
))
{
pr_debug
(
"too short
\n
"
);
return
-
1
;
}
if
(
skb_copy_bits
(
skb
,
start
,
&
hdr
,
sizeof
(
hdr
)))
BUG
();
if
(
nexthdr
==
NEXTHDR_AUTH
)
...
...
net/netfilter/nf_conntrack_core.c
浏览文件 @
4ada8107
...
...
@@ -726,7 +726,7 @@ nf_conntrack_in(struct net *net, u_int8_t pf, unsigned int hooknum,
NF_CT_ASSERT
(
skb
->
nfct
);
ret
=
l4proto
->
packet
(
ct
,
skb
,
dataoff
,
ctinfo
,
pf
,
hooknum
);
if
(
ret
<
0
)
{
if
(
ret
<
=
0
)
{
/* Invalid: inverse of the return code tells
* the netfilter core what to do */
pr_debug
(
"nf_conntrack_in: Can't track with proto module
\n
"
);
...
...
net/netfilter/nf_conntrack_netlink.c
浏览文件 @
4ada8107
...
...
@@ -1780,6 +1780,7 @@ ctnetlink_create_expect(struct nlattr *cda[], u_int8_t u3, u32 pid, int report)
goto
out
;
}
exp
->
class
=
0
;
exp
->
expectfn
=
NULL
;
exp
->
flags
=
0
;
exp
->
master
=
ct
;
...
...
net/netfilter/nf_conntrack_proto_tcp.c
浏览文件 @
4ada8107
...
...
@@ -859,7 +859,7 @@ static int tcp_packet(struct nf_conn *ct,
*/
if
(
nf_ct_kill
(
ct
))
return
-
NF_REPEAT
;
return
-
NF_DROP
;
return
NF_DROP
;
}
/* Fall through */
case
TCP_CONNTRACK_IGNORE
:
...
...
@@ -892,7 +892,7 @@ static int tcp_packet(struct nf_conn *ct,
nf_log_packet
(
pf
,
0
,
skb
,
NULL
,
NULL
,
NULL
,
"nf_ct_tcp: killing out of sync session "
);
nf_ct_kill
(
ct
);
return
-
NF_DROP
;
return
NF_DROP
;
}
ct
->
proto
.
tcp
.
last_index
=
index
;
ct
->
proto
.
tcp
.
last_dir
=
dir
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录