aboutsummaryrefslogtreecommitdiff
path: root/net/iet/files/patch-soo_ioctl
diff options
context:
space:
mode:
Diffstat (limited to 'net/iet/files/patch-soo_ioctl')
-rw-r--r--net/iet/files/patch-soo_ioctl20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/iet/files/patch-soo_ioctl b/net/iet/files/patch-soo_ioctl
new file mode 100644
index 000000000000..9da60ef95bb8
--- /dev/null
+++ b/net/iet/files/patch-soo_ioctl
@@ -0,0 +1,20 @@
+--- 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;
+