]> git.baikalelectronics.ru Git - kernel.git/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)
commit2f8b268ff746c69276ffd50c3806624016c72758
tree8e85e14c152a5b6c7f61ef2176cb6ed53854e280
parenta1f5a9206fa1908987b1b0e584b10113f766666f
[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