]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: remove BUG_ON from get_dpdev
authorLi RongQing <lirongqing@baidu.com>
Thu, 8 Nov 2018 12:40:20 +0000 (20:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Nov 2018 01:14:59 +0000 (17:14 -0800)
commit056c40a3be2ba73bcba3d128f6787beeb7487450
tree4f03817172a8888238e20f18b62ba82774ad22c2
parent456cb7bd4609b8aba672f2603137b1939d68694f
openvswitch: remove BUG_ON from get_dpdev

if local is NULL pointer, and the following access of local's
dev will trigger panic, which is same as BUG_ON

Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/vport-netdev.c