]> git.ipfire.org Git - people/arne_f/kernel.git/commit
CASSINI: Revert 'dont touch page_count'.
authorDavid Miller <davem@davemloft.net>
Fri, 11 Jan 2008 09:38:38 +0000 (01:38 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Feb 2008 19:43:44 +0000 (11:43 -0800)
commit49181a894be9a556a2336b2f0bc8762bc5f2f9c7
tree53c93a3eda4deb926b28c6c60ab78eb5b7ef7b48
parentdc92e7d27d392866bc4eba38b77e21ee31658b5c
CASSINI: Revert 'dont touch page_count'.

[ Upstream commit: 9de4dfb4c7176e5bb232a21cdd8df78da2b15cac ]

This reverts changeset fa4f0774d7c6cccb4d1fda76b91dd8eddcb2dd6a
([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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/cassini.c