]> git.baikalelectronics.ru Git - kernel.git/commit
xen-netback: remove loop waiting function
authorWei Liu <wei.liu2@citrix.com>
Tue, 12 Aug 2014 10:48:08 +0000 (11:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Aug 2014 03:07:44 +0000 (20:07 -0700)
commit823d2ec98dd9865a598014363f5cccd96d1d5a66
treea97ba22dad20761ac3eddcd7cf51463a872c4d60
parent2b340067a12e080b5b545daae6fa3fd53d929f1e
xen-netback: remove loop waiting function

The original implementation relies on a loop to check if all inflight
packets are freed. Now we have proper reference counting, there's no
need to use loop anymore.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Zoltan Kiss <zoltan.kiss@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/interface.c