Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 2002 11:28:50 +0700 (NOVST)
From:      "Semen A. Ustimenko" <semenu@FreeBSD.org>
To:        freebsd-net@FreeBSD.org
Cc:        freebsd-fs@FreeBSD.org
Subject:   NFS don't set sopt.sopt_dir sometimes... Maybe sosetopt() should?
Message-ID:  <20020523111658.N405-100000@def.the.net>

next in thread | raw e-mail | index | archive | help
Hi!

Looks like nfs_socket.c and nfs_syscalls.c lack strings

	sopt.sopt_dir = SOPT_SET;

when setting TCP_NODELAY and SO_KEEPALIVE. For SO_KEEPALIVE, it doesn't
matter, sosetopt() doesn't examine it, but TCP_NODELAY is actually
ignored.

Obviously, it's easy to add these lines, but maybe it's better to make
sosetopt() set sopt_dir for callers?

BYe!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020523111658.N405-100000>