diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2006-06-21 16:17:17 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-06-22 23:24:18 -0400 |
commit | 6d56ab936237b429366ade0d2a1540c7e41beb87 (patch) | |
tree | 6e767fd02c7c43aa72d600bdb5057c14dd05d56f /drivers/tc | |
parent | a192491ad58098f2c57d2d1efe721ea0634dc0aa (diff) | |
download | linux-3.10-6d56ab936237b429366ade0d2a1540c7e41beb87.tar.gz linux-3.10-6d56ab936237b429366ade0d2a1540c7e41beb87.tar.bz2 linux-3.10-6d56ab936237b429366ade0d2a1540c7e41beb87.zip |
[PATCH] Dereference in tokenring/olympic.c
hi,
coverity found (bug id #225) that we might call free_netdev()
with NULL argument, when alloc_trdev() fails. This patch
changes the goto, so we dont call free_netdev() for
dev == NULL.
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions