From: Rusty Russell Date: Mon, 7 Apr 2008 04:30:28 +0000 (+1000) Subject: virtio: remove overzealous BUG_ON. X-Git-Tag: v2.6.25-rc9~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2557a933b795c1988c721ebb871cd735128bb9cb;p=pandora-kernel.git virtio: remove overzealous BUG_ON. The 'disable_cb' callback is designed as an optimization to tell the host we don't need callbacks now. As it is not reliable, the debug check is overzealous: it can happen on two CPUs at the same time. Document this. Even if it were reliable, the virtio_net driver doesn't disable callbacks on transmit so the START_USE/END_USE debugging reentrance protection can be easily tripped even on UP. Thanks to Balaji Rao for the bug report and testing. Signed-off-by: Rusty Russell CC: Balaji Rao Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed