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
3bf39599
Commit
3bf39599
authored
Dec 24, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
parents
e5c34a57
291d809b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
net/ipv6/addrconf.c
net/ipv6/addrconf.c
+7
-4
No files found.
net/ipv6/addrconf.c
View file @
3bf39599
...
@@ -2467,9 +2467,11 @@ static void addrconf_dad_start(struct inet6_ifaddr *ifp, u32 flags)
...
@@ -2467,9 +2467,11 @@ static void addrconf_dad_start(struct inet6_ifaddr *ifp, u32 flags)
return
;
return
;
}
}
if
(
idev
->
if_flags
&
IF_READY
)
if
(
idev
->
if_flags
&
IF_READY
)
{
addrconf_dad_kick
(
ifp
);
addrconf_dad_kick
(
ifp
);
else
{
spin_unlock_bh
(
&
ifp
->
lock
);
}
else
{
spin_unlock_bh
(
&
ifp
->
lock
);
/*
/*
* If the defice is not ready:
* If the defice is not ready:
* - keep it tentative if it is a permanent address.
* - keep it tentative if it is a permanent address.
...
@@ -2478,8 +2480,6 @@ static void addrconf_dad_start(struct inet6_ifaddr *ifp, u32 flags)
...
@@ -2478,8 +2480,6 @@ static void addrconf_dad_start(struct inet6_ifaddr *ifp, u32 flags)
in6_ifa_hold
(
ifp
);
in6_ifa_hold
(
ifp
);
addrconf_dad_stop
(
ifp
);
addrconf_dad_stop
(
ifp
);
}
}
spin_unlock_bh
(
&
ifp
->
lock
);
out:
out:
read_unlock_bh
(
&
idev
->
lock
);
read_unlock_bh
(
&
idev
->
lock
);
}
}
...
@@ -2782,6 +2782,9 @@ static void addrconf_verify(unsigned long foo)
...
@@ -2782,6 +2782,9 @@ static void addrconf_verify(unsigned long foo)
in6_ifa_hold
(
ifpub
);
in6_ifa_hold
(
ifpub
);
spin_unlock
(
&
ifp
->
lock
);
spin_unlock
(
&
ifp
->
lock
);
read_unlock
(
&
addrconf_hash_lock
);
read_unlock
(
&
addrconf_hash_lock
);
spin_lock
(
&
ifpub
->
lock
);
ifpub
->
regen_count
=
0
;
spin_unlock
(
&
ifpub
->
lock
);
ipv6_create_tempaddr
(
ifpub
,
ifp
);
ipv6_create_tempaddr
(
ifpub
,
ifp
);
in6_ifa_put
(
ifpub
);
in6_ifa_put
(
ifpub
);
in6_ifa_put
(
ifp
);
in6_ifa_put
(
ifp
);
...
...
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