commit | 550bce59baf3f3059cd4ae1e268f08f2d2cb1d5c | [log] [tgz] |
---|---|---|
author | Roopa Prabhu <roopa@cumulusnetworks.com> | Fri Apr 15 20:36:25 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 18 12:41:13 2016 -0400 |
tree | af92a017007ef4123f16808e5acd00037377eaf6 | |
parent | ccd37cffe39d7d4f1c1efcd42ec829ec16c7db66 [diff] |
rtnetlink: rtnl_fill_stats: avoid an unnecssary stats copy This patch passes netlink attr data ptr directly to dev_get_stats thus elimiating a stats copy. Suggested-by: David Miller <davem@davemloft.net> Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>