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
2ce39f92
Commit
2ce39f92
authored
Nov 03, 2003
by
Harald Welte
Committed by
David S. Miller
Nov 03, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NETFILTER]: Fix ip_queue_maxlen sysctl.
parent
b37392c5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
net/ipv4/netfilter/ip_queue.c
net/ipv4/netfilter/ip_queue.c
+2
-3
net/ipv6/netfilter/ip6_queue.c
net/ipv6/netfilter/ip6_queue.c
+2
-3
No files found.
net/ipv4/netfilter/ip_queue.c
View file @
2ce39f92
...
@@ -581,15 +581,14 @@ static struct notifier_block ipq_nl_notifier = {
...
@@ -581,15 +581,14 @@ static struct notifier_block ipq_nl_notifier = {
.
notifier_call
=
ipq_rcv_nl_event
,
.
notifier_call
=
ipq_rcv_nl_event
,
};
};
static
int
sysctl_maxlen
=
IPQ_QMAX_DEFAULT
;
static
struct
ctl_table_header
*
ipq_sysctl_header
;
static
struct
ctl_table_header
*
ipq_sysctl_header
;
static
ctl_table
ipq_table
[]
=
{
static
ctl_table
ipq_table
[]
=
{
{
{
.
ctl_name
=
NET_IPQ_QMAX
,
.
ctl_name
=
NET_IPQ_QMAX
,
.
procname
=
NET_IPQ_QMAX_NAME
,
.
procname
=
NET_IPQ_QMAX_NAME
,
.
data
=
&
sysctl
_maxlen
,
.
data
=
&
queue
_maxlen
,
.
maxlen
=
sizeof
(
sysctl
_maxlen
),
.
maxlen
=
sizeof
(
queue
_maxlen
),
.
mode
=
0644
,
.
mode
=
0644
,
.
proc_handler
=
proc_dointvec
.
proc_handler
=
proc_dointvec
},
},
...
...
net/ipv6/netfilter/ip6_queue.c
View file @
2ce39f92
...
@@ -584,15 +584,14 @@ static struct notifier_block ipq_nl_notifier = {
...
@@ -584,15 +584,14 @@ static struct notifier_block ipq_nl_notifier = {
.
notifier_call
=
ipq_rcv_nl_event
,
.
notifier_call
=
ipq_rcv_nl_event
,
};
};
static
int
sysctl_maxlen
=
IPQ_QMAX_DEFAULT
;
static
struct
ctl_table_header
*
ipq_sysctl_header
;
static
struct
ctl_table_header
*
ipq_sysctl_header
;
static
ctl_table
ipq_table
[]
=
{
static
ctl_table
ipq_table
[]
=
{
{
{
.
ctl_name
=
NET_IPQ_QMAX
,
.
ctl_name
=
NET_IPQ_QMAX
,
.
procname
=
NET_IPQ_QMAX_NAME
,
.
procname
=
NET_IPQ_QMAX_NAME
,
.
data
=
&
sysctl
_maxlen
,
.
data
=
&
queue
_maxlen
,
.
maxlen
=
sizeof
(
sysctl
_maxlen
),
.
maxlen
=
sizeof
(
queue
_maxlen
),
.
mode
=
0644
,
.
mode
=
0644
,
.
proc_handler
=
proc_dointvec
.
proc_handler
=
proc_dointvec
},
},
...
...
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