]> git.ipfire.org Git - thirdparty/kernel/stable.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>
Fri, 8 Feb 2008 20:01:26 +0000 (12:01 -0800)
commit89a863418881cbf988823803b7bc0dd0a8f20df8
treed992551fbd19c7728a88fff50d542da93ff326a8
parenta055f487401cb0525cb9548a3158c9da41dffcba
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