tuntap: fix error return code in tun_set_iff()
Fix to return a negative error code from the error handling case instead of 0, as returned elsewhere in this function. [ Bug added in linux-3.8 , commit 4008e97f ("tuntap: fix ambigious multiqueue API") ] Signed-off-by: NWei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: NEric Dumazet <edumazet@google.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录