]> git.baikalelectronics.ru Git - kernel.git/commit
net: openvswitch: return an error instead of doing BUG_ON()
authorEelco Chaudron <echaudro@redhat.com>
Thu, 2 May 2019 20:12:38 +0000 (16:12 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 May 2019 05:36:36 +0000 (01:36 -0400)
commit33727623d6774ee91b015b793d8652e30d15aa3f
treec491684ed2d58f4ca580e02da067d756f18e107c
parent1641b6fc233b1e6b446ccc9092aadaa8fbf415cd
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: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/datapath.c