2
0
mirror of https://github.com/openvswitch/ovs synced 2025-09-03 07:45:30 +00:00

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>
This commit is contained in:
Ethan Jackson
2012-04-11 20:18:34 -07:00
parent bceb55c8ba
commit f1936eb651
13 changed files with 65 additions and 4 deletions

View File

@@ -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,