Browse Source

make it call etharp_output_sent() in tapif_output.This is to prevent the recently

discovered memory leak.
STABLE-2_1_x
jani 24 years ago
parent
commit
6ef24c4e48
  1. 2
      src/arch/unix/netif/tapif.c

2
src/arch/unix/netif/tapif.c

@ -262,6 +262,8 @@ tapif_output(struct netif *netif, struct pbuf *p,
p = etharp_output(netif, ipaddr, p);
if(p != NULL) {
return low_level_output(netif, p);
etharp_output_sent(p);
p = NULL;
}
return ERR_OK;
}

Loading…
Cancel
Save