aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/tcpmssd/files/patch-aa11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/tcpmssd/files/patch-aa b/net/tcpmssd/files/patch-aa
new file mode 100644
index 000000000000..73f3953d5fb6
--- /dev/null
+++ b/net/tcpmssd/files/patch-aa
@@ -0,0 +1,11 @@
+--- tcpmssd.c~ Mon Jul 17 20:57:24 2000
++++ tcpmssd.c Mon Nov 13 10:10:37 2000
+@@ -176,7 +176,7 @@
+ continue;
+ }
+
+- if (FD_ISSET(rtsock, &fdset)) {
++ if (rtsock != -1 && FD_ISSET(rtsock, &fdset)) {
+ struct if_msghdr ifm;
+
+ if ((pktlen = read(rtsock, &ifm, sizeof(ifm))) == -1) {