]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit003f616638cc13f9fbf45a5c12e5f35f3d45d0ee
tree4f4662069ea1c7e19cc8815c5a5490f2b0d49757
parentef1aca3d37a5959d79054287bc11a9e7ffc04ceb
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