Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2013 06:45:19 -0700
From:      Richard Sharpe <realrichardsharpe@gmail.com>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: TCP_KEEPIDLE vs TCPTV_KEEP_IDLE
Message-ID:  <CACyXjPw45GTi%2ByP3eQ3noj879Jii10eHbGpaf1qnt0NjTp-pJg@mail.gmail.com>
In-Reply-To: <20130506133541.GB15182@glebius.int.ru>
References:  <CACyXjPzfw3SAGXa0u6xBQgn79VyGEq7wj9V4GgkRnCazD6-PmA@mail.gmail.com> <20130506082235.GV15182@FreeBSD.org> <CACyXjPzG7dQ4_6J9sziNYY3OFGNwvncobjktV6=c9%2BkfBctAsA@mail.gmail.com> <20130506132332.GZ15182@glebius.int.ru> <CACyXjPxAeS0S54FYyibdNoXsGtHafCk1PU2-ha4s2cMf3NkWjQ@mail.gmail.com> <20130506132821.GA15182@glebius.int.ru> <CACyXjPysbhQ5j%2B=PXC800iG2n4dkfvXPqj%2BFaTGUdRjesxiKLQ@mail.gmail.com> <20130506133541.GB15182@glebius.int.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 6, 2013 at 6:35 AM, Gleb Smirnoff <glebius@freebsd.org> wrote:
> On Mon, May 06, 2013 at 06:32:37AM -0700, Richard Sharpe wrote:
> R> On Mon, May 6, 2013 at 6:28 AM, Gleb Smirnoff <glebius@freebsd.org> wr=
ote:
> R> > On Mon, May 06, 2013 at 06:26:14AM -0700, Richard Sharpe wrote:
> R> > R> Thank you for that answer. I don't have the option to install Fre=
eBSD
> R> > R> 9.1. Maybe we will move to 9.1 in the future.
> R> > R>
> R> > R> However, I now understand the issues better. Of course that does
> R> > R> complicate my proposal on Samba technical, just a little.
> R> >
> R> > I don't understand the proposal. Samba correctly compiles with suppo=
rt
> R> > for the discussed socket options on those operating systems that sup=
port
> R> > them. No "fixes" to Samba are required, everything works correctly.
> R>
> R> Perhaps there are others out there like us who have to stick with
> R> earlier versions of FreeBSD where the symbols Samba currently uses are
> R> not supported.
> R>
> R> In the spirit of few or no surprises for users, a small amount of
> R> #ifdef stuff will work.
> R>
> R> Of course, my fellow Samba team members might decide that it is not wo=
rth it.
>
> No, small amount of ifdef stuff would not work. FreeBSD 8.0 doesn't have
> these socket options, you can't bring support for them defining their val=
ues.
>
> Even if you manage to compile samba with support for these socket options=
,
> it will fail at runtime, getting EINVAL error from the setsockopt() syste=
m
> call.

OK, I see what you mean. A trawl over the kernel code shows that these
values are only used for setting up the defaults.

OK, that closes one avenue for me.

--=20
Regards,
Richard Sharpe
(=A6=F3=A5H=B8=D1=BC~=A1H=B0=DF=A6=B3=A7=F9=B1d=A1C--=B1=E4=BE=DE)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACyXjPw45GTi%2ByP3eQ3noj879Jii10eHbGpaf1qnt0NjTp-pJg>