net: copy_rtnl_link_stats64() simplification
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 23 Aug 2010 07:14:36 +0000 (07:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2010 03:43:16 +0000 (20:43 -0700)
commitafdcba371f9748ac91608bb6c57f170aab7085b4
tree4f4662069ea1c7e19cc8815c5a5490f2b0d49757
parent0eec32ff350348e635b3b8d87b989117ce045d25
net: copy_rtnl_link_stats64() simplification

No need to use a temporary struct rtnl_link_stats64 variable,
just copy the source to skb buffer.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Reviewed-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c