diff options
author | 2011-10-11 23:00:41 +0000 | |
---|---|---|
committer | 2011-10-18 23:59:33 -0400 | |
commit | e730c82347b9dc75914da998c44c3f348965db41 (patch) | |
tree | 6a003ecc293961629062530996e9c9fc50e5131f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netconsole: enable netconsole can make net_device refcnt incorrent (diff) | |
download | linux-dev-e730c82347b9dc75914da998c44c3f348965db41.tar.xz linux-dev-e730c82347b9dc75914da998c44c3f348965db41.zip |
tg3: negate USE_PHYLIB flag check
USE_PHYLIB flag in tg3_remove_one() is being checked incorrectly. This
results tg3_phy_fini->phy_disconnect is never called and when tg3 module
is removed.
In my case this resulted in panics in phy_state_machine calling function
phydev->adjust_link.
So correct this check.
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Acked-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions