datapath: Use struct assignment in place of memcpy() for copying stats.
authorBen Pfaff <blp@nicira.com>
Thu, 4 Nov 2010 20:49:19 +0000 (13:49 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 9 Nov 2010 20:45:24 +0000 (12:45 -0800)
commitf493a3fc144adf053c6bb2cf446300c65e9e22c3
tree09131a080dc72c77238e70764a2ffe21e5aac295
parentbe8df17ac86427a713e4aa92484ffd74e8b2e00a
datapath: Use struct assignment in place of memcpy() for copying stats.

We might as well take advantage of type safety when we can get it.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/vport.c