systemd-stable v246.10
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEXCUbX8VOsvgPQHqqxUyjNs/rVX4FAmAZjYQACgkQxUyjNs/r
VX7+9xAAjqbdvKf8cr/GJRy26zueGgR0iu5VsgcY23WgzeZqaLRAMUDWIseIWVCo
AjYEu1lG3MXbWdxrEt+Qzzv+cKxXXPjx6tUeFGCRr+iQPsGjXn+irVhfZQCWom1L
Oi6Nkrf7AqWoFdEMr8/OUaqGPP3koqcV06f4sHPw5yf+AqQitEDjgbuVWsrOdjpL
/1mG5UbqCXwqJ20sfMtqdpTPjA6FXcWsKEXrfkz/M5Z5HrTEawi+YtdmmgTyFwm7
ui5e14OW3XUCwpzd9oVlMCikNuMPu4/g2ufwEkXihGgCJ27nt/urrXo6/oeEWezw
7xaHbK+Wef0Jo2TBhgGRf/S9U6ddUFjhU6nE9kVV9fR6XwFcHHVcyoanwwp0lWIO
PVFmZ1YMZrt0wnEr1FxMCtWH/TVY+Y0doKAN5W7MEl/1LtjoQ9vGKNCSRuhchMuD
casmqcTY55UwEb4tofxecXPgbIy3Q9l/GwbgtHdpTihI9n/yzy2PkhOYmZbq5oOu
yxK+iiNv2K408P2aw1xrT6kaOmR+O0bXf4p/wYJ7RG2EC20Lb77qbrRMBZ6ACwAZ
zO1PtzJRPhBWr8sFrduNwFlen+OZQ0vSq2EtdK5iN9us1+DsrH+DEe5BxyQGppTQ
5XizhDZ8d072Y9JcWsvhm0kUNAStVFvNIT08CUjddMqeEv90WFs=
=rF9B
-----END PGP SIGNATURE-----
resolved: use reference counting for DnsQueryCandidate objects

Follow-up for 4ea8b443de. The logic that manages DnsQueryCandidate is rather
complicated: a calls to dns_query_complete() that wants to destroy a
DnsQueryCandidate can be nested inside a deep chain of calls. Using reference
counts seems like the simplest approach.

DnsSearchDomain already uses reference counting.

This patch effectively brings dns_query_candidate_go() to the state before
4ea8b443de, but wraps the iteration over DnsQueryCandidate.transactions in
dns_query_candidate_ref+dns_query_candidate_unref.

(cherry picked from commit 0e0fd08fc832b8f42e567d722d388eba086da5ff)
(cherry picked from commit ab9f7e1a51005f12d3bac83b86716d9d33048eb7)
3 files changed
tree: 694f0a16e806722373a29824c7aea10a72b30cbb
  1. .clang-format
  2. .ctags
  3. .dir-locals.el
  4. .editorconfig
  5. .gitattributes
  6. .github/
  7. .gitignore
  8. .lgtm.yml
  9. .lgtm/cpp-queries/
  10. .mailmap
  11. .mkosi/
  12. .travis.yml
  13. .vimrc
  14. .ycm_extra_conf.py
  15. LICENSE.GPL2
  16. LICENSE.LGPL2.1
  17. Makefile
  18. NEWS
  19. README
  20. README.md
  21. TODO
  22. azure-pipelines.yml
  23. catalog/
  24. coccinelle/
  25. configure
  26. docs/
  27. factory/etc/
  28. hwdb.d/
  29. man/
  30. meson.build
  31. meson_options.txt
  32. mkosi.build
  33. modprobe.d/
  34. network/
  35. po/
  36. presets/
  37. rules.d/
  38. semaphoreci/
  39. shell-completion/
  40. src/
  41. sysctl.d/
  42. sysusers.d/
  43. test/
  44. tmpfiles.d/
  45. tools/
  46. travis-ci/
  47. units/
  48. xorg/
  49. zanata.xml
README.md

Systemd

System and Service Manager

Semaphore CI Build Status
Coverity Scan Status
OSS-Fuzz Status
CIFuzz
CII Best Practices
Travis CI Build Status
Language Grade: C/C++
CentOS CI Build Status
Build Status
Fossies codespell report Packaging status

Details

Most documentation is available on systemd's web site.

Assorted, older, general information about systemd can be found in the systemd Wiki.

Information about build requirements is provided in the README file.

Consult our NEWS file for information about what's new in the most recent systemd versions.

Please see the Hacking guide for information on how to hack on systemd and test your modifications.

Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.

When preparing patches for systemd, please follow our Coding Style Guidelines.

If you are looking for support, please contact our mailing list or join our IRC channel.

Stable branches with backported patches are available in the stable repo.