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
Kirill Smelkov
linux
Commits
8586007c
Commit
8586007c
authored
Jan 10, 2004
by
Shmulik Hen
Committed by
Jeff Garzik
Jan 10, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] bonding cleanup 2.6 - fix indentations.
parent
bc74d636
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
42 deletions
+42
-42
drivers/net/bonding/bond_alb.c
drivers/net/bonding/bond_alb.c
+7
-7
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_main.c
+35
-35
No files found.
drivers/net/bonding/bond_alb.c
View file @
8586007c
drivers/net/bonding/bond_main.c
View file @
8586007c
...
...
@@ -1145,20 +1145,20 @@ static void bond_set_multicast_list(struct net_device *bond_dev)
/*
* Do promisc before checking multicast_mode
*/
if
(
(
bond_dev
->
flags
&
IFF_PROMISC
)
&&
!
(
bond
->
flags
&
IFF_PROMISC
)
)
{
if
(
(
bond_dev
->
flags
&
IFF_PROMISC
)
&&
!
(
bond
->
flags
&
IFF_PROMISC
)
)
{
bond_set_promiscuity
(
bond
,
1
);
}
if
(
!
(
bond_dev
->
flags
&
IFF_PROMISC
)
&&
(
bond
->
flags
&
IFF_PROMISC
)
)
{
if
(
!
(
bond_dev
->
flags
&
IFF_PROMISC
)
&&
(
bond
->
flags
&
IFF_PROMISC
)
)
{
bond_set_promiscuity
(
bond
,
-
1
);
}
/* set allmulti flag to slaves */
if
(
(
bond_dev
->
flags
&
IFF_ALLMULTI
)
&&
!
(
bond
->
flags
&
IFF_ALLMULTI
)
)
{
if
(
(
bond_dev
->
flags
&
IFF_ALLMULTI
)
&&
!
(
bond
->
flags
&
IFF_ALLMULTI
)
)
{
bond_set_allmulti
(
bond
,
1
);
}
if
(
!
(
bond_dev
->
flags
&
IFF_ALLMULTI
)
&&
(
bond
->
flags
&
IFF_ALLMULTI
)
)
{
if
(
!
(
bond_dev
->
flags
&
IFF_ALLMULTI
)
&&
(
bond
->
flags
&
IFF_ALLMULTI
)
)
{
bond_set_allmulti
(
bond
,
-
1
);
}
...
...
@@ -4046,7 +4046,7 @@ static int bond_check_params(void)
for
(
arp_ip_count
=
0
;
(
arp_ip_count
<
MAX_ARP_IP_TARGETS
)
&&
arp_ip_target
[
arp_ip_count
];
arp_ip_count
++
)
{
arp_ip_count
++
)
{
/* not complete check, but should be good enough to
catch mistakes */
if
(
!
isdigit
(
arp_ip_target
[
arp_ip_count
][
0
]))
{
...
...
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