sd-netlink: fix invalid assertion

It is natural that n_attiributes is less than type. But in that case,
the message does not contain any message about the type. So, we should
not abort execution with assertion, but just return -ENODATA.

(cherry picked from commit 48fb0d1301c78112360df943f2b6ebeb545b8510)
(cherry picked from commit a321507476af07b9ce743608a15156f2bc43da1d)
(cherry picked from commit e6e168388d003761a61319a696c7e419d374a980)
(cherry picked from commit ea44afca1be770dfb1e0a1c4a8315f8cdd3cafab)
1 file changed
tree: ef705f92790a6773b88e4fea8628cac0b4d0c468
  1. .dir-locals.el
  2. .editorconfig
  3. .gitattributes
  4. .github/
  5. .gitignore
  6. .mailmap
  7. .mkosi/
  8. .travis.yml
  9. .vimrc
  10. .ycm_extra_conf.py
  11. LICENSE.GPL2
  12. LICENSE.LGPL2.1
  13. Makefile
  14. NEWS
  15. README
  16. README.md
  17. TODO
  18. catalog/
  19. coccinelle/
  20. configure
  21. doc/
  22. factory/etc/
  23. hwdb/
  24. man/
  25. meson.build
  26. meson_options.txt
  27. mkosi.build
  28. modprobe.d/
  29. network/
  30. po/
  31. presets/
  32. rules/
  33. shell-completion/
  34. src/
  35. sysctl.d/
  36. sysusers.d/
  37. test/
  38. tmpfiles.d/
  39. tools/
  40. travis-ci/
  41. units/
  42. xorg/
  43. zanata.xml
README.md

systemd - System and Service Manager

Build Status
Coverity Scan Status
CII Best Practices
Build Status

Details

General information about systemd can be found in the systemd Wiki.

Information about build requirements are 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 file for information 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.