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
419c3e2e
Commit
419c3e2e
authored
Apr 11, 2003
by
Andrew Morton
Committed by
Stephen Hemminger
Apr 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV4]: Fix bootup lockup when !CONFIG_IP_MULTICAST.
parent
8f44c5c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
net/ipv4/igmp.c
net/ipv4/igmp.c
+1
-1
No files found.
net/ipv4/igmp.c
View file @
419c3e2e
...
@@ -1185,7 +1185,6 @@ void ip_mc_up(struct in_device *in_dev)
...
@@ -1185,7 +1185,6 @@ void ip_mc_up(struct in_device *in_dev)
ASSERT_RTNL
();
ASSERT_RTNL
();
#ifdef CONFIG_IP_MULTICAST
#ifdef CONFIG_IP_MULTICAST
in_dev
->
mc_lock
=
RW_LOCK_UNLOCKED
;
in_dev
->
mr_gq_running
=
0
;
in_dev
->
mr_gq_running
=
0
;
init_timer
(
&
in_dev
->
mr_gq_timer
);
init_timer
(
&
in_dev
->
mr_gq_timer
);
in_dev
->
mr_gq_timer
.
data
=
(
unsigned
long
)
in_dev
;
in_dev
->
mr_gq_timer
.
data
=
(
unsigned
long
)
in_dev
;
...
@@ -1198,6 +1197,7 @@ void ip_mc_up(struct in_device *in_dev)
...
@@ -1198,6 +1197,7 @@ void ip_mc_up(struct in_device *in_dev)
in_dev
->
mr_qrv
=
IGMP_Unsolicited_Report_Count
;
in_dev
->
mr_qrv
=
IGMP_Unsolicited_Report_Count
;
#endif
#endif
in_dev
->
mc_lock
=
RW_LOCK_UNLOCKED
;
ip_mc_inc_group
(
in_dev
,
IGMP_ALL_HOSTS
);
ip_mc_inc_group
(
in_dev
,
IGMP_ALL_HOSTS
);
for
(
i
=
in_dev
->
mc_list
;
i
;
i
=
i
->
next
)
for
(
i
=
in_dev
->
mc_list
;
i
;
i
=
i
->
next
)
...
...
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