Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2019 18:06:11 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r347402 - head/sys/modules/ipsec
Message-ID:  <201905091806.x49I6Bx9067179@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Thu May  9 18:06:11 2019
New Revision: 347402
URL: https://svnweb.freebsd.org/changeset/base/347402

Log:
  Add if_ipsec.ko symlink to ipsec.ko kernel module.
  
  This add ability to automatically load ipsec kernel module, when
  if_ipsec(4) virtual interface is created using ifconfig(8).
  
  Reviewed by:	gallatin
  MFC after:	1 week
  Differential Revision:	https://reviews.freebsd.org/D20169

Modified:
  head/sys/modules/ipsec/Makefile

Modified: head/sys/modules/ipsec/Makefile
==============================================================================
--- head/sys/modules/ipsec/Makefile	Thu May  9 17:57:04 2019	(r347401)
+++ head/sys/modules/ipsec/Makefile	Thu May  9 18:06:11 2019	(r347402)
@@ -7,6 +7,7 @@ SRCS=	if_ipsec.c ipsec.c ipsec_input.c ipsec_mbuf.c ip
 	ipsec_output.c xform_ah.c xform_esp.c xform_ipcomp.c \
 	opt_inet.h opt_inet6.h opt_ipsec.h opt_sctp.h 
 SRCS.INET=	udpencap.c
+SYMLINKS=	${KMOD}.ko ${KMODDIR}/if_${KMOD}.ko
 
 opt_ipsec.h:
 	@echo "#define IPSEC_SUPPORT 1" > ${.TARGET}



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