commit | a7855c78a24d6348e989bec616318e68c662e78b | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Thu Sep 23 23:51:51 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 26 19:04:08 2010 -0700 |
tree | 43ee591745e17569ad212be6ec3c46e58b443c0a | |
parent | 83180af0b0ea166adf8249f4513beb7355f9b4c9 [diff] |
net: loopback driver cleanup loopback driver uses dev->ml_priv to store its percpu stats pointer. It uses ugly casts "(void __percpu __force *)" to shut up sparse complains. Define an union to better document we use ml_priv in loopback driver and define a lstats field with appropriate types. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>