mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +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:
@@ -86,6 +86,7 @@ tcp_open(const char *name, char *suffix, struct stream **streamp, uint8_t dscp)
|
||||
|
||||
const struct stream_class tcp_stream_class = {
|
||||
"tcp", /* name */
|
||||
true, /* needs_probes */
|
||||
tcp_open, /* open */
|
||||
NULL, /* close */
|
||||
NULL, /* connect */
|
||||
@@ -137,6 +138,7 @@ ptcp_accept(int fd, const struct sockaddr *sa, size_t sa_len,
|
||||
|
||||
const struct pstream_class ptcp_pstream_class = {
|
||||
"ptcp",
|
||||
true,
|
||||
ptcp_open,
|
||||
NULL,
|
||||
NULL,
|
||||
|
Reference in New Issue
Block a user