Changeset 14291 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Nov 18, 2008 12:00:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/tcp_subr.c
r14289 r14291 280 280 m_freem(pData, m); 281 281 } 282 /* It's static */ 283 /* if (tp->t_template) 284 * (void) m_free(dtom(tp->t_template)); 285 */ 286 /* free(tp, M_PCB); */ 287 u32ptr_done(pData, ptr_to_u32(pData, tp), tp); 282 288 #else /* !VBOX_WITH_BSD_TCP_REASS */ 289 struct tseg_qent *te; 283 290 DEBUG_CALL("tcp_close"); 284 291 DEBUG_ARG("tp = %lx", (long )tp); 285 292 /*XXX: freeing the reassembly queue */ 293 LIST_FOREACH(te, &tp->t_segq, tqe_q) { 294 LIST_REMOVE(te, tqe_q); 295 m_freem(pData, te->tqe_m); 296 free(te); 297 tcp_reass_qsize--; 298 } 286 299 #endif /* VBOX_WITH_BSD_TCP_REASS */ 287 /* It's static */288 /* if (tp->t_template)289 * (void) m_free(dtom(tp->t_template));290 */291 /* free(tp, M_PCB); */292 u32ptr_done(pData, ptr_to_u32(pData, tp), tp);293 300 free(tp); 294 301 so->so_tcpcb = 0;
Note:
See TracChangeset
for help on using the changeset viewer.