Message ID | 20231110113719.3055788-2-chopps@chopps.org (mailing list archive) |
---|---|
State | RFC |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [RFC,ipsec-next,1/8] iptfs: config: add CONFIG_XFRM_IPTFS | expand |
On Fri, Nov 10, 2023 at 06:37:12AM -0500, Christian Hopps wrote: > From: Christian Hopps <chopps@labn.net> > > Signed-off-by: Christian Hopps <chopps@labn.net> Hi Christian, thanks for your patchset. Some feedback from my side, I hope it is useful. > --- > net/xfrm/Kconfig | 9 +++++++++ > net/xfrm/Makefile | 1 + > 2 files changed, 10 insertions(+) > > diff --git a/net/xfrm/Kconfig b/net/xfrm/Kconfig > index 3adf31a83a79..d07852069e68 100644 > --- a/net/xfrm/Kconfig > +++ b/net/xfrm/Kconfig > @@ -134,6 +134,15 @@ config NET_KEY_MIGRATE > > If unsure, say N. > > +config XFRM_IPTFS > + bool "IPsec IPTFS (RFC 9347) encapsulation support" > + depends on XFRM > + help > + Information on the IPTFS encapsulation can be found > + in RFC 9347. nit: the indentation of the above seems inconsistent > + > + If unsure, say N. > + > config XFRM_ESPINTCP > bool > > diff --git a/net/xfrm/Makefile b/net/xfrm/Makefile > index cd47f88921f5..9b870a3274a7 100644 > --- a/net/xfrm/Makefile > +++ b/net/xfrm/Makefile > @@ -20,4 +20,5 @@ obj-$(CONFIG_XFRM_USER) += xfrm_user.o > obj-$(CONFIG_XFRM_USER_COMPAT) += xfrm_compat.o > obj-$(CONFIG_XFRM_IPCOMP) += xfrm_ipcomp.o > obj-$(CONFIG_XFRM_INTERFACE) += xfrm_interface.o > +obj-$(CONFIG_XFRM_IPTFS) += xfrm_iptfs.o > obj-$(CONFIG_XFRM_ESPINTCP) += espintcp.o Unfortunately, this breaks allmodconfig builds. Please ensure that each patch survives an allyesconfig and an allmodconfig build with W=1 set without new warnings or failures. [1]. I also recommend checking that no new sparse warnings are introduced. [1] https://docs.kernel.org/process/maintainer-netdev.html#expected-level-of-testing
Simon Horman <horms@kernel.org> writes: > On Fri, Nov 10, 2023 at 06:37:12AM -0500, Christian Hopps wrote: >> From: Christian Hopps <chopps@labn.net> >> >> Signed-off-by: Christian Hopps <chopps@labn.net> > > Hi Christian, > > thanks for your patchset. > Some feedback from my side, I hope it is useful. > >> --- >> net/xfrm/Kconfig | 9 +++++++++ >> net/xfrm/Makefile | 1 + >> 2 files changed, 10 insertions(+) >> >> diff --git a/net/xfrm/Kconfig b/net/xfrm/Kconfig >> index 3adf31a83a79..d07852069e68 100644 >> --- a/net/xfrm/Kconfig >> +++ b/net/xfrm/Kconfig >> @@ -134,6 +134,15 @@ config NET_KEY_MIGRATE >> >> If unsure, say N. >> >> +config XFRM_IPTFS >> + bool "IPsec IPTFS (RFC 9347) encapsulation support" >> + depends on XFRM >> + help >> + Information on the IPTFS encapsulation can be found >> + in RFC 9347. > > nit: the indentation of the above seems inconsistent Yes, a spaces vs tabs issue, thanks fixed. >> + >> + If unsure, say N. >> + >> config XFRM_ESPINTCP >> bool >> >> diff --git a/net/xfrm/Makefile b/net/xfrm/Makefile >> index cd47f88921f5..9b870a3274a7 100644 >> --- a/net/xfrm/Makefile >> +++ b/net/xfrm/Makefile >> @@ -20,4 +20,5 @@ obj-$(CONFIG_XFRM_USER) += xfrm_user.o >> obj-$(CONFIG_XFRM_USER_COMPAT) += xfrm_compat.o >> obj-$(CONFIG_XFRM_IPCOMP) += xfrm_ipcomp.o >> obj-$(CONFIG_XFRM_INTERFACE) += xfrm_interface.o >> +obj-$(CONFIG_XFRM_IPTFS) += xfrm_iptfs.o >> obj-$(CONFIG_XFRM_ESPINTCP) += espintcp.o > > Unfortunately, this breaks allmodconfig builds. I've moved it to where the file is added in the last commit, thanks. > Please ensure that each patch survives an allyesconfig and an allmodconfig > build with W=1 set without new warnings or failures. [1]. > > I also recommend checking that no new sparse warnings are introduced. Ok, thanks, Chris. > > [1] https://docs.kernel.org/process/maintainer-netdev.html#expected-level-of-testing
On Fri, Nov 10, 2023 at 06:37:12AM -0500, Christian Hopps via Devel wrote: > From: Christian Hopps <chopps@labn.net> > > Signed-off-by: Christian Hopps <chopps@labn.net> > --- > net/xfrm/Kconfig | 9 +++++++++ > net/xfrm/Makefile | 1 + > 2 files changed, 10 insertions(+) > > diff --git a/net/xfrm/Kconfig b/net/xfrm/Kconfig > index 3adf31a83a79..d07852069e68 100644 > --- a/net/xfrm/Kconfig > +++ b/net/xfrm/Kconfig > @@ -134,6 +134,15 @@ config NET_KEY_MIGRATE > > If unsure, say N. > > +config XFRM_IPTFS > + bool "IPsec IPTFS (RFC 9347) encapsulation support" RFC use "IP-TFS"? in the text use consistanly. > + depends on XFRM > + help > + Information on the IPTFS encapsulation can be found > + in RFC 9347. Add details what is actually supported when enabling this options. RFC 9347 has several combinations. Are all combinations supported? > + > + If unsure, say N. > + > config XFRM_ESPINTCP > bool > > diff --git a/net/xfrm/Makefile b/net/xfrm/Makefile > index cd47f88921f5..9b870a3274a7 100644 > --- a/net/xfrm/Makefile > +++ b/net/xfrm/Makefile > @@ -20,4 +20,5 @@ obj-$(CONFIG_XFRM_USER) += xfrm_user.o > obj-$(CONFIG_XFRM_USER_COMPAT) += xfrm_compat.o > obj-$(CONFIG_XFRM_IPCOMP) += xfrm_ipcomp.o > obj-$(CONFIG_XFRM_INTERFACE) += xfrm_interface.o > +obj-$(CONFIG_XFRM_IPTFS) += xfrm_iptfs.o > obj-$(CONFIG_XFRM_ESPINTCP) += espintcp.o > -- > 2.42.0 > > -- > Devel mailing list > Devel@linux-ipsec.org > https://linux-ipsec.org/mailman/listinfo/devel
Antony Antony <antony@phenome.org> writes: > On Fri, Nov 10, 2023 at 06:37:12AM -0500, Christian Hopps via Devel wrote: >> From: Christian Hopps <chopps@labn.net> >> >> Signed-off-by: Christian Hopps <chopps@labn.net> >> --- >> net/xfrm/Kconfig | 9 +++++++++ >> net/xfrm/Makefile | 1 + >> 2 files changed, 10 insertions(+) >> >> diff --git a/net/xfrm/Kconfig b/net/xfrm/Kconfig >> index 3adf31a83a79..d07852069e68 100644 >> --- a/net/xfrm/Kconfig >> +++ b/net/xfrm/Kconfig >> @@ -134,6 +134,15 @@ config NET_KEY_MIGRATE >> >> If unsure, say N. >> >> +config XFRM_IPTFS >> + bool "IPsec IPTFS (RFC 9347) encapsulation support" > > RFC use "IP-TFS"? in the text use consistanly. Ok. >> + depends on XFRM >> + help >> + Information on the IPTFS encapsulation can be found >> + in RFC 9347. > > Add details what is actually supported when enabling this options. RFC 9347 > has several combinations. Are all combinations supported? Done. Thanks, Chris. >> + >> + If unsure, say N. >> + >> config XFRM_ESPINTCP >> bool >> >> diff --git a/net/xfrm/Makefile b/net/xfrm/Makefile >> index cd47f88921f5..9b870a3274a7 100644 >> --- a/net/xfrm/Makefile >> +++ b/net/xfrm/Makefile >> @@ -20,4 +20,5 @@ obj-$(CONFIG_XFRM_USER) += xfrm_user.o >> obj-$(CONFIG_XFRM_USER_COMPAT) += xfrm_compat.o >> obj-$(CONFIG_XFRM_IPCOMP) += xfrm_ipcomp.o >> obj-$(CONFIG_XFRM_INTERFACE) += xfrm_interface.o >> +obj-$(CONFIG_XFRM_IPTFS) += xfrm_iptfs.o >> obj-$(CONFIG_XFRM_ESPINTCP) += espintcp.o >> -- >> 2.42.0 >> >> -- >> Devel mailing list >> Devel@linux-ipsec.org >> https://linux-ipsec.org/mailman/listinfo/devel
diff --git a/net/xfrm/Kconfig b/net/xfrm/Kconfig index 3adf31a83a79..d07852069e68 100644 --- a/net/xfrm/Kconfig +++ b/net/xfrm/Kconfig @@ -134,6 +134,15 @@ config NET_KEY_MIGRATE If unsure, say N. +config XFRM_IPTFS + bool "IPsec IPTFS (RFC 9347) encapsulation support" + depends on XFRM + help + Information on the IPTFS encapsulation can be found + in RFC 9347. + + If unsure, say N. + config XFRM_ESPINTCP bool diff --git a/net/xfrm/Makefile b/net/xfrm/Makefile index cd47f88921f5..9b870a3274a7 100644 --- a/net/xfrm/Makefile +++ b/net/xfrm/Makefile @@ -20,4 +20,5 @@ obj-$(CONFIG_XFRM_USER) += xfrm_user.o obj-$(CONFIG_XFRM_USER_COMPAT) += xfrm_compat.o obj-$(CONFIG_XFRM_IPCOMP) += xfrm_ipcomp.o obj-$(CONFIG_XFRM_INTERFACE) += xfrm_interface.o +obj-$(CONFIG_XFRM_IPTFS) += xfrm_iptfs.o obj-$(CONFIG_XFRM_ESPINTCP) += espintcp.o