diff options
author | Thomas Haller <thaller@redhat.com> | 2019-09-01 14:38:22 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-09-01 14:38:59 +0200 |
commit | ff61de28d738df8135e59cc44123fbc71f99707e (patch) | |
tree | 843775300cf3ffa1d06e92a4170b016f2439c747 /libnl-route-3.sym | |
parent | d147019c4bbb856be13042d89e95b859f01c808d (diff) | |
download | libnl-ff61de28d738df8135e59cc44123fbc71f99707e.tar.gz |
xfrmi: return error code from getters for XFRM links
Returning the value directly as uint32_t does not leave room for an error
code. E.g. we want to indicate to the caller whether the attribute is present
or not (-NLE_NOATTR). Currenlty, the code is quite unforgiving and will just
crash/assert against invalid arguments. In theory, we could also be more forgiving
and return a error code if the link argument is invalid.
Diffstat (limited to 'libnl-route-3.sym')
0 files changed, 0 insertions, 0 deletions