datapath: Prepare to support 32-bit compatibility ioctls.
authorBen Pfaff <blp@nicira.com>
Thu, 13 May 2010 20:21:33 +0000 (13:21 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 13 May 2010 22:29:49 +0000 (15:29 -0700)
commit44e05ecafe7c164a328a0108b8685f21569d2a37
tree7b0b5ce1ee61993a17d36a27ea42c3c2704273dd
parent1da3c6a0500a6dae270c918d5c85c60682ba6036
datapath: Prepare to support 32-bit compatibility ioctls.

This commit prepares the core of datapath.c and vport.c to reduce the
amount of new code duplication when the following commit adds support for
32-bit compatibility ioctls.  It breaks a number of functions apart into
pairs of functions: one that copies data to and from userspace and another
that does the real work.

This change is a pure refactoring that should not change behavior.
datapath/datapath.c
datapath/vport.c