From: Tom Herbert Date: Thu, 7 Oct 2010 10:09:10 +0000 (+0000) Subject: net: Fix rxq ref counting X-Git-Tag: v2.6.37-rc1~147^2~179 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4315d834c1496ddca977e9e22002b77c85bfec2c;p=pandora-kernel.git net: Fix rxq ref counting The rx->count reference is used to track reference counts to the number of rx-queue kobjects created for the device. This patch eliminates initialization of the counter in netif_alloc_rx_queues and instead increments the counter each time a kobject is created. This is now symmetric with the decrement that is done when an object is released. Signed-off-by: Tom Herbert Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed