From: David Miller <davem@davemloft.net>
To: ilyal@mellanox.com
Cc: netdev@vger.kernel.org, davejwatson@fb.com, aviadye@mellanox.com
Subject: Re: [PATCH v3 net-next 0/2] Use correct sk->sk_prot for IPV6
Date: Tue, 05 Sep 2017 14:38:42 -0700 (PDT) [thread overview]
Message-ID: <20170905.143842.193794174652230489.davem@davemloft.net> (raw)
In-Reply-To: <1504520041-55634-1-git-send-email-ilyal@mellanox.com>
From: Ilya Lesokhin <ilyal@mellanox.com>
Date: Mon, 4 Sep 2017 13:13:59 +0300
> The tls ulp overrides sk->prot with a new tls specific proto structs.
> The tls specific structs were previously based on the ipv4 specific
> tcp_prot sturct.
> As a result, attaching the tls ulp to an ipv6 tcp socket replaced
> some ipv6 callback with the ipv4 equivalents.
>
> This patch adds ipv6 tls proto structs and uses them when
> attached to ipv6 sockets.
>
> Changed since v2:
> - Dropped patch to fix IPV6_ADDRFORM setsockopt
> There was some disagreement about the correct way of fixinig it,
> and this series does not depend on it.
>
> Changes since v1:
> - TLS now dependes on IPV6
> This fixes complication issues when TLS is built-in and IPV6 is a module.
> The downside should be small as it is unlikely that there are kernel TLS
> users who can't afford to include IPV6 in thier kernel.
This is not acceptable.
Forcing such a huge piece of infrastructure like ipv6 to be statically
built just because someone wants to enable TLS is not going to pass.
Every distrubtion out there will enable all features, including TLS,
so effectively you are forcing every distribution to build ipv6
non-modules.
Sorry, you will have to fix this in a way that allows TLS and IPV6
to be modular.
prev parent reply other threads:[~2017-09-05 21:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-04 10:13 [PATCH v3 net-next 0/2] Use correct sk->sk_prot for IPV6 Ilya Lesokhin
2017-09-04 10:14 ` [PATCH v3 net-next 1/2] net: Export tcpv6_prot Ilya Lesokhin
2017-09-04 10:14 ` [PATCH v3 net-next 2/2] tls: Use correct sk->sk_prot for IPV6 Ilya Lesokhin
2018-02-23 21:52 ` [v3,net-next,2/2] " Guenter Roeck
2018-02-27 7:49 ` Boris Pismenny
2017-09-05 21:38 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170905.143842.193794174652230489.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=aviadye@mellanox.com \
--cc=davejwatson@fb.com \
--cc=ilyal@mellanox.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).