Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
c9c83c7d
Commit
c9c83c7d
authored
9 years ago
by
Yonezawa-T2
Browse files
Options
Downloads
Patches
Plain Diff
nc: cancel timer set by `gnrc_ndp_rtr_sol_handle` in `gnrc_ipv6_nc_remove`.
parent
542e045b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sys/net/gnrc/network_layer/ipv6/nc/gnrc_ipv6_nc.c
+7
-0
7 additions, 0 deletions
sys/net/gnrc/network_layer/ipv6/nc/gnrc_ipv6_nc.c
with
7 additions
and
0 deletions
sys/net/gnrc/network_layer/ipv6/nc/gnrc_ipv6_nc.c
+
7
−
0
View file @
c9c83c7d
...
...
@@ -163,6 +163,13 @@ void gnrc_ipv6_nc_remove(kernel_pid_t iface, const ipv6_addr_t *ipv6_addr)
#endif
#ifdef MODULE_GNRC_SIXLOWPAN_ND_ROUTER
xtimer_remove
(
&
entry
->
type_timeout
);
gnrc_ipv6_netif_t
*
if_entry
=
gnrc_ipv6_netif_get
(
iface
);
if
((
if_entry
!=
NULL
)
&&
(
if_entry
->
rtr_adv_msg
.
content
.
ptr
==
(
char
*
)
entry
))
{
/* cancel timer set by gnrc_ndp_rtr_sol_handle */
xtimer_remove
(
&
if_entry
->
rtr_adv_timer
);
}
#endif
#if defined(MODULE_GNRC_NDP_ROUTER) || defined(MODULE_GNRC_SIXLOWPAN_ND_BORDER_ROUTER)
xtimer_remove
(
&
entry
->
rtr_adv_timer
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment