]> git.baikalelectronics.ru Git - kernel.git/commit
[NET] loopback: minor statistics optimization
authorStephen Hemminger <shemminger@osdl.org>
Thu, 28 Sep 2006 03:33:34 +0000 (20:33 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 29 Sep 2006 01:02:49 +0000 (18:02 -0700)
commitc72603792a85594922efbd9d646cf260fd2c92af
tree729eeef31a9ad44c0635f5e27b6c924767e17238
parentc19ad106ed8519f874cdabb0ce91cbe4ee5bbcad
[NET] loopback: minor statistics optimization

The loopback device status structure is a singleton and doesn't
need to be allocated. Add ethtool_ops hooks to show checksum always on,
and make ethtool_ops const.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/loopback.c