Skip to content

Commit

Permalink
Merge pull request #4176 from authmillenon/gnrc_ndp/fix/stop-rs-retra…
Browse files Browse the repository at this point in the history
…nsmissions-on-ra

gnrc_ndp: stop multicast RS retransmissions on RA reception
  • Loading branch information
cgundogan committed Oct 28, 2015
2 parents 7d1c952 + 8722699 commit 83e0c45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/net/gnrc/network_layer/ndp/gnrc_ndp.c
Original file line number Diff line number Diff line change
Expand Up @@ -613,10 +613,10 @@ void gnrc_ndp_rtr_adv_handle(kernel_pid_t iface, gnrc_pktsnip_t *pkt, ipv6_hdr_t
}
#endif
_stale_nc(iface, &ipv6->src, l2src, l2src_len);
/* stop multicast router solicitation retransmission timer */
xtimer_remove(&if_entry->rtr_sol_timer);
#ifdef MODULE_GNRC_SIXLOWPAN_ND
if (if_entry->flags & GNRC_IPV6_NETIF_FLAGS_SIXLOWPAN) {
/* stop multicast router solicitation retransmission timer */
xtimer_remove(&if_entry->rtr_sol_timer);
/* 3/4 of the time should be "well before" enough the respective timeout
* not to run out; see https://tools.ietf.org/html/rfc6775#section-5.4.3 */
next_rtr_sol *= 3;
Expand Down

0 comments on commit 83e0c45

Please sign in to comment.