]> err.no Git - linux-2.6/commit
[NET]: Dynamically allocate the per cpu counters for the loopback device.
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 27 Sep 2007 05:08:12 +0000 (22:08 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:47 +0000 (16:52 -0700)
commit5f6d88b9149d537f3db0798f7d312be632422e15
tree8e85e14c152a5b6c7f61ef2176cb6ed53854e280
parent9dd776b6d7b0b85966b6ddd03e2b2aae59012ab1
[NET]: Dynamically allocate the per cpu counters for the loopback device.

This patch add support for dynamically allocating the statistics counters
for the loopback device and adds appropriate device methods for allocating
and freeing the loopback device.

This completes support for creating multiple instances of the loopback
device,  in preparation for creating per network namespace instances.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/loopback.c