Parent: c2cae83b3042fb9cbf50015a8dc9062b9178dc08
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-01-15 21:01:50
Tree: 0b2d29e0f7d36ad4c4c240e41f721b09dd583310
shared/crypto: Transform bt_cryto in a singleton This makes bt_crypto always return the same instance thus avoiding the problem of having multiple PF sockets opened which may hit the file descriptor limit.
Diffstat
| M | src/shared/crypto.c | | | 37 | ++++++++++++++++++++++- - - - - - - - - - - - - - - |
1 files changed, 22 insertions(+), 15 deletions(-)