commit | e52ac3398c3d772d372b9b62ab408fd5eec96840 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Mon Jan 16 12:38:59 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 17 10:31:12 2012 -0500 |
tree | 1291fbc00c9fec755be01f49be865219d676b540 | |
parent | 27a429383b399fc0f68bea55c422d7179f3c8b05 [diff] |
net: Use device model to get driver name in skb_gso_segment() ethtool operations generally require the caller to hold RTNL and are not safe to call in atomic context. The device model provides this information for most devices; we'll only lose it for some old ISA drivers. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>