tcp: fix build
The recent25685b7537
came in conflict witha540cdca31
. Remove the code that cleans up the old style input queue. Note that two lines below we assert that the new style input queue is empty. The TCP stacks that use the queue are supposed to flush it in their tfb_tcp_fb_fini method.
This commit is contained in:
parent
458f4722bf
commit
3232b1f4a9
@ -2426,17 +2426,6 @@ tcp_discardcb(struct tcpcb *tp)
|
||||
#ifdef TCP_BLACKBOX
|
||||
tcp_log_tcpcbfini(tp);
|
||||
#endif
|
||||
if (tp->t_in_pkt) {
|
||||
struct mbuf *m, *n;
|
||||
|
||||
m = tp->t_in_pkt;
|
||||
tp->t_in_pkt = tp->t_tail_pkt = NULL;
|
||||
while (m) {
|
||||
n = m->m_nextpkt;
|
||||
m_freem(m);
|
||||
m = n;
|
||||
}
|
||||
}
|
||||
TCPSTATES_DEC(tp->t_state);
|
||||
|
||||
if (tp->t_fb->tfb_tcp_fb_fini)
|
||||
|
Loading…
Reference in New Issue
Block a user