]> bbs.cooldavid.org Git - net-next-2.6.git/commit
module: refactor load_module part 3
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Aug 2010 18:59:03 +0000 (12:59 -0600)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Aug 2010 03:29:04 +0000 (12:59 +0930)
commit40dd2560ec2df21036db9ec8b971f92d98fd1969
treea5785afb92619379172c9ee5b05501e075cc7bff
parent65b8a9b4d5525348e55cf63a43517610ee8e0970
module: refactor load_module part 3

Extract out the allocation and copying in from userspace, and the
first set of modinfo checks.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c