]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:22:45 +0000 (11:22 -0700)
commit2f055d42e40b10d8f55439f9b6bd7defcb9d7873
tree5b0f12885f62ce4e32d21ed7bb369b9f458e54b6
parente2f415159f02c5815415260063c47e06cf7408ee
misc: Fix allocation 'borrowed' by vhost_net

commit 79907d89c397b8bc2e05b347ec94e928ea919d33 upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/vhost/net.c
include/linux/miscdevice.h