Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
80bb3a00
Commit
80bb3a00
authored
Mar 25, 2010
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6
parents
9a127aad
8f599229
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
include/linux/netfilter_ipv6.h
include/linux/netfilter_ipv6.h
+1
-0
net/ipv6/netfilter/ip6table_raw.c
net/ipv6/netfilter/ip6table_raw.c
+1
-1
net/netfilter/xt_hashlimit.c
net/netfilter/xt_hashlimit.c
+3
-1
net/netfilter/xt_recent.c
net/netfilter/xt_recent.c
+1
-1
No files found.
include/linux/netfilter_ipv6.h
View file @
80bb3a00
...
...
@@ -59,6 +59,7 @@
enum
nf_ip6_hook_priorities
{
NF_IP6_PRI_FIRST
=
INT_MIN
,
NF_IP6_PRI_CONNTRACK_DEFRAG
=
-
400
,
NF_IP6_PRI_RAW
=
-
300
,
NF_IP6_PRI_SELINUX_FIRST
=
-
225
,
NF_IP6_PRI_CONNTRACK
=
-
200
,
NF_IP6_PRI_MANGLE
=
-
150
,
...
...
net/ipv6/netfilter/ip6table_raw.c
View file @
80bb3a00
...
...
@@ -13,7 +13,7 @@ static const struct xt_table packet_raw = {
.
valid_hooks
=
RAW_VALID_HOOKS
,
.
me
=
THIS_MODULE
,
.
af
=
NFPROTO_IPV6
,
.
priority
=
NF_IP6_PRI_
FIRST
,
.
priority
=
NF_IP6_PRI_
RAW
,
};
/* The work comes in here from netfilter.c. */
...
...
net/netfilter/xt_hashlimit.c
View file @
80bb3a00
...
...
@@ -493,6 +493,7 @@ static void hashlimit_ipv6_mask(__be32 *i, unsigned int p)
case
64
...
95
:
i
[
2
]
=
maskl
(
i
[
2
],
p
-
64
);
i
[
3
]
=
0
;
break
;
case
96
...
127
:
i
[
3
]
=
maskl
(
i
[
3
],
p
-
96
);
break
;
...
...
@@ -879,6 +880,7 @@ static void dl_seq_stop(struct seq_file *s, void *v)
struct
xt_hashlimit_htable
*
htable
=
s
->
private
;
unsigned
int
*
bucket
=
(
unsigned
int
*
)
v
;
if
(
!
IS_ERR
(
bucket
))
kfree
(
bucket
);
spin_unlock_bh
(
&
htable
->
lock
);
}
...
...
net/netfilter/xt_recent.c
View file @
80bb3a00
...
...
@@ -267,7 +267,7 @@ recent_mt(const struct sk_buff *skb, const struct xt_match_param *par)
for
(
i
=
0
;
i
<
e
->
nstamps
;
i
++
)
{
if
(
info
->
seconds
&&
time_after
(
time
,
e
->
stamps
[
i
]))
continue
;
if
(
info
->
hit_count
&&
++
hits
>=
info
->
hit_count
)
{
if
(
!
info
->
hit_count
||
++
hits
>=
info
->
hit_count
)
{
ret
=
!
ret
;
break
;
}
...
...
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