netlink: fix error propagation in netlink_mmap()
Return the error if something went wrong instead of unconditionally returning 0. Signed-off-by: NPatrick McHardy <kaber@trash.net> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录