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
476d7328
Commit
476d7328
authored
Sep 11, 2003
by
Amir Noam
Committed by
Stephen Hemminger
Sep 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[bonding 2.6] fix ARP monitoring bug
parent
c90482ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_main.c
+2
-2
No files found.
drivers/net/bonding/bond_main.c
View file @
476d7328
...
@@ -443,7 +443,7 @@ struct bond_parm_tbl {
...
@@ -443,7 +443,7 @@ struct bond_parm_tbl {
static
int
arp_interval
=
BOND_LINK_ARP_INTERV
;
static
int
arp_interval
=
BOND_LINK_ARP_INTERV
;
static
char
*
arp_ip_target
[
MAX_ARP_IP_TARGETS
]
=
{
NULL
,
};
static
char
*
arp_ip_target
[
MAX_ARP_IP_TARGETS
]
=
{
NULL
,
};
static
u
nsigned
long
arp_target
[
MAX_ARP_IP_TARGETS
]
=
{
0
,
}
;
static
u
32
arp_target
[
MAX_ARP_IP_TARGETS
]
=
{
0
,
}
;
static
int
arp_ip_count
=
0
;
static
int
arp_ip_count
=
0
;
static
u32
my_ip
=
0
;
static
u32
my_ip
=
0
;
char
*
arp_target_hw_addr
=
NULL
;
char
*
arp_target_hw_addr
=
NULL
;
...
@@ -3811,7 +3811,7 @@ static int __init bonding_init(void)
...
@@ -3811,7 +3811,7 @@ static int __init bonding_init(void)
arp_interval
=
0
;
arp_interval
=
0
;
}
else
{
}
else
{
u32
ip
=
in_aton
(
arp_ip_target
[
arp_ip_count
]);
u32
ip
=
in_aton
(
arp_ip_target
[
arp_ip_count
]);
*
(
u32
*
)(
arp_ip_target
[
arp_ip_count
])
=
ip
;
arp_target
[
arp_ip_count
]
=
ip
;
}
}
}
}
...
...
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