From: K. Y. Srinivasan Date: Sat, 27 Aug 2011 18:31:16 +0000 (-0700) Subject: Staging: hv: netvsc: Get rid of the refcnt field in struct netvsc_device X-Git-Tag: v3.2-rc1~169^2^2~846 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d88f33a1530f4241227226e7479d36ac959e9ce;p=pandora-kernel.git Staging: hv: netvsc: Get rid of the refcnt field in struct netvsc_device Get rid of the refcnt field in struct netvsc_device. We implement the following logic to manage the life cycle of the device: If the device is being destroyed, we do not allow any outgoing traffic. Furthermore, if the device is being destroyed, we allow incoming traffic only to drain outgoing traffic. Note that the driver may send some book keeping messages to the host not known to upper level Linux code. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed