mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Restore original formulation of SPX segment queue draining during SPX
PCB detach. MFC after: 1 month
This commit is contained in:
parent
f4cda13bed
commit
0597c8cf73
1 changed files with 3 additions and 1 deletions
|
|
@ -1427,7 +1427,9 @@ spx_pcbdetach(struct ipxpcb *ipxp)
|
|||
cb = ipxtospxpcb(ipxp);
|
||||
KASSERT(cb != NULL, ("spx_pcbdetach: cb == NULL"));
|
||||
|
||||
for (s = cb->s_q.si_next; s != NULL; s = cb->s_q.si_next) {
|
||||
s = cb->s_q.si_next;
|
||||
while (s != &(cb->s_q)) {
|
||||
s = s->si_next;
|
||||
remque(s);
|
||||
m = dtom(s);
|
||||
m_freem(m);
|
||||
|
|
|
|||
Loading…
Reference in a new issue