mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Modify to work with the new sbreserve().
This commit is contained in:
parent
0939630ac5
commit
f14a4bf818
1 changed files with 5 additions and 1 deletions
|
|
@ -370,7 +370,11 @@ atm_aal5_connect(so, addr, p)
|
|||
|
||||
size = atp->atp_attr.aal.v.aal5.forward_max_SDU_size;
|
||||
if (size != T_ATM_ABSENT)
|
||||
(void) sbreserve(&so->so_snd, size);
|
||||
if (!sbreserve(&so->so_snd, size, so, p)) {
|
||||
err = ENOBUFS;
|
||||
ATM_OUTRO();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue