diff --git a/net/neighbor/neighbor_ethernet_out.c b/net/neighbor/neighbor_ethernet_out.c index f8246498d19..496c8927780 100644 --- a/net/neighbor/neighbor_ethernet_out.c +++ b/net/neighbor/neighbor_ethernet_out.c @@ -196,10 +196,6 @@ void neighbor_ethernet_out(FAR struct net_driver_s *dev) memcpy(eth->src, dev->d_mac.ether.ether_addr_octet, ETHER_ADDR_LEN); eth->type = HTONS(ETHTYPE_IP6); - /* Update device buffer length */ - - iob_update_pktlen(dev->d_iob, dev->d_len); - /* Add the size of the layer layer header to the total size of the * outgoing packet. */