Branch: refs/heads/dlopen
Home: https://github.com/fabbione/kronosnet
Commit: 8aaa2546024d77f8495384aa0f49ad202d46a74d
https://github.com/fabbione/kronosnet/commit/8aaa2546024d77f8495384aa0f49ad…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-08-26 (Sat, 26 Aug 2017)
Changed paths:
M libknet/crypto_nss.c
Log Message:
-----------
[crypto] fix libnss unload crash and remove that atexit horror show
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/dlopen
Home: https://github.com/fabbione/kronosnet
Commit: 21eaed431243771bd1a248f94e4fe2548a07ede8
https://github.com/fabbione/kronosnet/commit/21eaed431243771bd1a248f94e4fe2…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-08-26 (Sat, 26 Aug 2017)
Changed paths:
M libknet/crypto.c
M libknet/crypto.h
M libknet/crypto_nss.c
M libknet/crypto_nss.h
Log Message:
-----------
[crypto] fix libref count the same way as compress
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/dlopen
Home: https://github.com/fabbione/kronosnet
Commit: 72eaa2e3a513e6e525c795a390cd58a8262ce941
https://github.com/fabbione/kronosnet/commit/72eaa2e3a513e6e525c795a390cd58…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-08-26 (Sat, 26 Aug 2017)
Changed paths:
M libknet/compress.c
M libknet/compress.h
M libknet/compress_bzip2.c
M libknet/compress_bzip2.h
M libknet/compress_lz4.c
M libknet/compress_lz4.h
M libknet/compress_lzma.c
M libknet/compress_lzma.h
M libknet/compress_lzo2.c
M libknet/compress_lzo2.h
M libknet/compress_zlib.c
M libknet/compress_zlib.h
Log Message:
-----------
[compress] centralize handling of libref in compress abstraction layer
the complexity come from a mix and match of those modules that
have/don't have .is_init/.init functions, and makes handling
more delicate.
This commit ensures that:
- library is loaded only once (makes load_lib mandatory for every modules)
- use knet_h->compress_int_data to track per handle init.
modules providing .is_init,.init don't need set anything there
unless they need to.
- modules don't need to track libref anymore but they must
provide a unload_lib/load_lib.
- library are closed only once libref is 0.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/dlopen
Home: https://github.com/fabbione/kronosnet
Commit: 3d3e8104d8285d892c9f408a2443d3ac45510d84
https://github.com/fabbione/kronosnet/commit/3d3e8104d8285d892c9f408a2443d3…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-08-26 (Sat, 26 Aug 2017)
Changed paths:
M libknet/Makefile.am
M libknet/compress.c
M libknet/crypto.c
M libknet/crypto.h
M libknet/crypto_nss.c
M libknet/crypto_nss.h
M libknet/tests/crypto_bench.c
M libknet/tests/int_crypto.c
Log Message:
-----------
[crypto] move libnss to a dlopen model (pass 1)
unload and exit will coredump for now
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/dlopen
Home: https://github.com/fabbione/kronosnet
Commit: 546d6cdd80a408ebc86181163d991827101ad006
https://github.com/fabbione/kronosnet/commit/546d6cdd80a408ebc86181163d9918…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-08-25 (Fri, 25 Aug 2017)
Changed paths:
M libknet/compress_bzip2.c
M libknet/compress_lz4.c
M libknet/compress_lzma.c
M libknet/compress_lzo2.c
M libknet/compress_zlib.c
Log Message:
-----------
[compress] fix internal ref count for library unload
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Branch: refs/heads/dlopen
Home: https://github.com/fabbione/kronosnet
Commit: fc326cd62035ee7926c57eb158f416eeb40794f9
https://github.com/fabbione/kronosnet/commit/fc326cd62035ee7926c57eb158f416…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-08-25 (Fri, 25 Aug 2017)
Changed paths:
M libknet/compress.c
M libknet/compress.h
M libknet/compress_bzip2.c
M libknet/compress_bzip2.h
M libknet/compress_lz4.c
M libknet/compress_lz4.h
M libknet/compress_lzma.c
M libknet/compress_lzma.h
M libknet/compress_lzo2.c
M libknet/compress_lzo2.h
M libknet/compress_zlib.c
M libknet/compress_zlib.h
Log Message:
-----------
[compress] switch to new load_lib / unload_lib API
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>