[Swan-dev] skipping init_pfkey()

Paul Wouters paul at nohats.ca
Thu Jul 19 13:38:45 UTC 2018


Note that calling the kernel functions for registration might do
something inside the kernel. Since we are modprobing most things
now, we are likely not using it now. But soon when there is an
XFRM version to replace the PF_KEY function in the kernel, that
function will actually initialise (and/or load kernel module)
when initialising. So we might have to re-instate something
again soon.

Paul

---------- Forwarded message ----------
Date: Thu, 19 Jul 2018 08:30:49
From: Andrew Cagney <cagney at vault.libreswan.fi>
To: swan-commit at lists.libreswan.org
Subject: [Swan-commit] Changes to ref refs/heads/master

New commits:
commit b248daa3564a55c216632d928d9028f56e478158
Author: Andrew Cagney <cagney at gnu.org>
Date:   Wed Jul 18 22:44:28 2018 -0400

     xfrm: don't call init_pfkey() during initialization

     No need since algorithms are all hardwired.

     Leave the comment: PF_KEY API in Linux with netkey is a joke that
     should be abandoned ...

_______________________________________________
Swan-commit mailing list
Swan-commit at lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-commit


More information about the Swan-dev mailing list