netprio_cgroup: Use memcpy instead of the for-loop to copy priomap
authorSrivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Wed, 12 Sep 2012 20:32:34 +0000 (20:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2012 20:18:40 +0000 (16:18 -0400)
commitf05ba7fccf0c5f0422378adaffcb119d08b9f304
tree504194829b96ad5f64c646dfc4b4336ee63550b1
parentd530d6df96ee28902486f8e11815ef9ad3a1cd1b
netprio_cgroup: Use memcpy instead of the for-loop to copy priomap

Replace the current (inefficient) for-loop with memcpy, to copy priomap.

Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netprio_cgroup.c