Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix netlink_process_msg() to propagate potential error from netlink_senderr(). Normally netlink_senderr() should return 0 indicating that the error response was built successfully. This patch tweaks the logic to make sure the error response in such case is sent back as a NLMSG_ERROR reply accordingly instead of making sendmsg() return error. Signed-off-by: Waldemar Kozaczuk <[email protected]>
- Loading branch information