]> git.baikalelectronics.ru Git - kernel.git/commit
misc: Fix allocation 'borrowed' by vhost_net
authorAlan Cox <alan@linux.intel.com>
Wed, 9 Jun 2010 08:39:49 +0000 (09:39 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 9 Jun 2010 15:50:31 +0000 (08:50 -0700)
commitab9d3430c996ee876cadf329e227e2d9d8552926
tree1f0047491ef1424272f14a032acf01f569fe84c4
parentf5a2fa1cb37d99f721cee3a1fd0f829c22d8132b
misc: Fix allocation 'borrowed' by vhost_net

10, 233 is allocated officially to /dev/kmview which is shipping in
Ubuntu and Debian distributions.  vhost_net seem to have borrowed it
without making a proper request and this causes regressions in the other
distributions.

vhost_net can use a dynamic minor so use that instead.  Also update the
file with a comment to try and avoid future misunderstandings.

cc: stable@kernel.org
Signed-off-by: Alan Cox <device@lanana.org>
[ We should have caught this before 2.6.34 got released.  - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/vhost/net.c
include/linux/miscdevice.h