[Openswan Users] Unloading klips module removes all /proc/net/ entries

Thomas Geulig geulig at nentec.de
Thu Mar 6 09:07:12 EST 2014


I had some problems with unloading the klips module since openswan 2.6.40,
which happens for example with "ipsec setup --stop".

After stopping ipsec, all entries in /proc/net/ were removed, not only
the klips related entries.

The attached patch removes the backported remove_proc_subtree() code,
which was only used for the pf_key entries anyway. Now, as in ipsec_proc.c
already, the function remove_proc_entry() is used. This "works".

Thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: klips_proc_net.patch
Type: text/x-patch
Size: 1970 bytes
Desc: not available
URL: <http://lists.openswan.org/pipermail/users/attachments/20140306/59579c12/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4769 bytes
Desc: not available
URL: <http://lists.openswan.org/pipermail/users/attachments/20140306/59579c12/attachment-0001.bin>


More information about the Users mailing list