net: openvswitch: return an error instead of doing BUG_ON()
For all other error cases in queue_userspace_packet() the error is returned, so it makes sense to do the same for these two error cases. Reported-by: NDavide Caratti <dcaratti@redhat.com> Signed-off-by: NEelco Chaudron <echaudro@redhat.com> Acked-by: NFlavio Leitner <fbl@sysclose.org> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录