freebsd-ports/net/iet/files/patch-soo_ioctl

21 lines
558 B
Plaintext

--- kernel/nthread.c.orig 2014-10-30 11:29:21.000000000 -0700
+++ kernel/nthread.c 2014-10-30 11:30:14.000000000 -0700
@@ -91,7 +91,7 @@
return 0;
#endif
- error = soo_ioctl(&filetmp, FIONREAD, &avail, NULL, curthread);
+ error = fo_ioctl(&filetmp, FIONREAD, &avail, NULL, curthread);
if (error)
return 0;
@@ -350,7 +350,7 @@
filetmp.f_data = conn->sock;
filetmp.f_cred = NULL;
- error = soo_ioctl(&filetmp, FIONSPACE, &avail, NULL, curthread);
+ error = fo_ioctl(&filetmp, FIONSPACE, &avail, NULL, curthread);
if (error)
return 0;