]> git.baikalelectronics.ru Git - kernel.git/commit
[CASSINI]: Revert 'dont touch page_count'.
authorDavid S. Miller <davem@davemloft.net>
Fri, 4 Jan 2008 03:33:50 +0000 (19:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Jan 2008 11:55:19 +0000 (03:55 -0800)
commit2127fbf0fe00254f84d1d7ccbc8acceefbf3ce10
treedb7484f7c29d9d738aaddee39ddd46fe59cfbc27
parent9956d8c3ffc0310c842e154dd089291dd49320d6
[CASSINI]: Revert 'dont touch page_count'.

This reverts changeset 60f92cbda0855f84beb567767bdbf3ab20baa826
([CASSINI]: dont touch page_count) because it breaks the driver.

The local page counting added by this changeset did not account
for the asynchronous page count changes done by kfree_skb()
and friends.

The change adds extra atomics and on top of it all appears to be
totally unnecessary as well.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Nick Piggin <npiggin@suse.de>
drivers/net/cassini.c