VirtualBox

Changeset 49041 in vbox


Ignore:
Timestamp:
Oct 11, 2013 12:26:04 AM (11 years ago)
Author:
vboxsync
Message:

ip6_input: immediately drop packet if ipv6 is not configured on the
incoming netif.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/lwip-new/src/core/ipv6/ip6.c

    r47886 r49041  
    423423
    424424  IP6_STATS_INC(ip6.recv);
     425
     426  /* drop if incoming interface doesn't have IPv6 configured */
     427  if (ip6_addr_isinvalid(netif_ip6_addr_state(inp, 0))) {
     428    pbuf_free(p);
     429    IP6_STATS_INC(ip6.drop);
     430    return ERR_OK;
     431  }
    425432
    426433  /* identify the IP header */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette