mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fixup build after recent getsock changes
This commit is contained in:
parent
e66c6b993e
commit
1760a6950a
2 changed files with 2 additions and 2 deletions
|
|
@ -348,7 +348,7 @@ kern_accept4(struct thread *td, int s, struct sockaddr **name,
|
|||
&headfp, &fcaps);
|
||||
if (error != 0)
|
||||
return (error);
|
||||
fflag = atomic_load_int(&fp->f_flag);
|
||||
fflag = atomic_load_int(&headfp->f_flag);
|
||||
head = headfp->f_data;
|
||||
if (!SOLISTENING(head)) {
|
||||
error = EINVAL;
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ sys_sctp_peeloff(td, uap)
|
|||
&headfp);
|
||||
if (error != 0)
|
||||
goto done2;
|
||||
fflag = atomic_load_int(&fp->f_flag);
|
||||
fflag = atomic_load_int(&headfp->f_flag);
|
||||
head = headfp->f_data;
|
||||
if (head->so_proto->pr_protocol != IPPROTO_SCTP) {
|
||||
error = EOPNOTSUPP;
|
||||
|
|
|
|||
Loading…
Reference in a new issue