ipmr: Use on-device stats instead of private ones.
authorPavel Emelyanov <xemul@openvz.org>
Wed, 21 May 2008 21:17:33 +0000 (14:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 May 2008 21:43:45 +0000 (14:43 -0700)
commitcf3677ae19c2f62979b39143f5d2f6b3dfb3b3e4
tree120eb674a16e922e9bb95bf63af40d6432d79dcb
parent3dca02af38c11a970160387ab36ae6043feb03cd
ipmr: Use on-device stats instead of private ones.

These devices use the private area of appropriate size for
statistics. Turning them to use on-device ones make them
"privless" and thus - really small wrt kmalloc cache, they
are allocated from.

Besides, code looks nicer, because of absence of multi-braced
type casts and dereferences.

[ Fix build failures -DaveM ]

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c