diff options
author | 2015-03-30 00:29:13 -0700 | |
---|---|---|
committer | 2015-03-31 14:15:01 -0400 | |
commit | fac25940c5e0d6f31d56bb2a704fadad6d5e382a (patch) | |
tree | 6c8b260503febba0f89c8bc1d4bbfd5524b1232c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: bcmgenet: remove __bcmgenet_fini_dma() (diff) | |
download | wireguard-linux-fac25940c5e0d6f31d56bb2a704fadad6d5e382a.tar.xz wireguard-linux-fac25940c5e0d6f31d56bb2a704fadad6d5e382a.zip |
net: bcmgenet: fix bcmgenet_open()
If bcmgenet_init_dma() fails, it cleans up after itself. Rx and Tx
DMAs are off, and NAPI instances haven't been netif_napi_add()'ed.
Therefore, we need to skip calling bcmgenet_fini_dma() on the error
handling path. bcmgenet_resume() already does this correctly.
Signed-off-by: Petri Gynther <pgynther@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions