commit | 6d56ab936237b429366ade0d2a1540c7e41beb87 | [log] [tgz] |
---|---|---|
author | Eric Sesterhenn <snakebyte@gmx.de> | Wed Jun 21 16:17:17 2006 +0200 |
committer | Jeff Garzik <jeff@garzik.org> | Thu Jun 22 23:24:18 2006 -0400 |
tree | 6e767fd02c7c43aa72d600bdb5057c14dd05d56f | |
parent | a192491ad58098f2c57d2d1efe721ea0634dc0aa [diff] |
[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>