summaryrefslogtreecommitdiff
path: root/lib/stream-unix.c
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2012-04-11 20:18:34 -0700
committerEthan Jackson <ethan@nicira.com>2012-04-12 00:43:22 -0700
commitf1936eb65178f796d26a8d265697af8c19dce8cd (patch)
tree05616ee0958f35adcb6822354a74905a89f659b1 /lib/stream-unix.c
parentbceb55c8ba91af812bc61e1ebc54f367ad034157 (diff)
downloadopenvswitch-f1936eb65178f796d26a8d265697af8c19dce8cd.tar.gz
stream: By default disable probing on unix sockets.
There isn't a lot of value in sending inactivity probes on unix sockets. This patch changes the default to disable them. Signed-off-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'lib/stream-unix.c')
-rw-r--r--lib/stream-unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stream-unix.c b/lib/stream-unix.c
index a9d76f257..40ef01248 100644
--- a/lib/stream-unix.c
+++ b/lib/stream-unix.c
@@ -57,6 +57,7 @@ unix_open(const char *name, char *suffix, struct stream **streamp,
const struct stream_class unix_stream_class = {
"unix", /* name */
+ false, /* needs_probes */
unix_open, /* open */
NULL, /* close */
NULL, /* connect */
@@ -113,6 +114,7 @@ punix_accept(int fd, const struct sockaddr *sa, size_t sa_len,
const struct pstream_class punix_pstream_class = {
"punix",
+ false,
punix_open,
NULL,
NULL,