From: Eric Dumazet Date: Tue, 24 Nov 2009 22:50:53 +0000 (-0800) Subject: pktgen: Fix netdevice unregister X-Git-Tag: v2.6.32~30^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e9848403ad59c53b31facb30b43ca80135ae0b9;p=pandora-kernel.git pktgen: Fix netdevice unregister When multi queue compatable names are used by pktgen (eg eth0@0), we currently cannot unload a NIC driver if one of its device is currently in use. Allow pktgen_find_dev() to find pktgen devices by their suffix (netdev name) Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed