datapath: Fix argument to strncpy_from_user().
authorBen Pfaff <blp@nicira.com>
Tue, 27 Apr 2010 17:21:12 +0000 (10:21 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 27 Apr 2010 17:21:12 +0000 (10:21 -0700)
commit1224e8fc1da9cddef6bdb24814300893bb2ace89
treede8599386e91739c19090ddb149002736d23bcfa
parent43253595291318833572088595769b45a79c9c54
datapath: Fix argument to strncpy_from_user().

The strncpy_from_user() function's 'count' argument is documented to
include the trailing null byte, but create_dp() did not include it.  This
commit adds it in.
datapath/datapath.c