commit | 3e9848403ad59c53b31facb30b43ca80135ae0b9 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Tue Nov 24 14:50:53 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Nov 24 14:50:53 2009 -0800 |
tree | ec5d47edd7bc85509d3c8b5b593d12a2e05c3969 | |
parent | 8c2acc53fd7987493f11640e266cf7130591e764 [diff] |
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 <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>