Skip to content

Commit

Permalink
optimization TCPv6 connect
Browse files Browse the repository at this point in the history
  • Loading branch information
freakyxue committed Mar 19, 2020
1 parent da2740f commit 453b291
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
9 changes: 0 additions & 9 deletions src/core/ipv6/nd6.c
Original file line number Diff line number Diff line change
Expand Up @@ -890,15 +890,6 @@ nd6_tmr(void)
#endif
/* @todo implement preferred and valid lifetimes. */
} else if (netif->flags & NETIF_FLAG_UP) {
#if ESP_LWIP
#if LWIP_IPV6_MLD
if ((netif_ip6_addr_state(netif, i) & IP6_ADDR_TENTATIVE_COUNT_MASK) == 0) {
/* Join solicited node multicast group. */
ip6_addr_set_solicitednode(&multicast_address, netif_ip6_addr(netif, i)->addr[3]);
mld6_joingroup(netif_ip6_addr(netif, i), &multicast_address);
}
#endif /* LWIP_IPV6_MLD */
#endif
/* Send a NS for this address. */
nd6_send_ns(netif, netif_ip6_addr(netif, i), ND6_SEND_FLAG_MULTICAST_DEST);
/* tentative: set next state by increasing by one */
Expand Down
1 change: 1 addition & 0 deletions test/unit/esp/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ limitations under the License.

/* ESP specific cofiguration */
#define ESP_LWIP 1
#define ESP_IPV6 1
#define ESP_DHCP 1
#define ESP_DHCP_TIMER 1
#define ESP_DHCPS_TIMER 0
Expand Down

0 comments on commit 453b291

Please sign in to comment.