]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] bogus kfree() in ibmtr
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 4 Oct 2005 16:40:44 +0000 (17:40 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 4 Oct 2005 20:22:00 +0000 (13:22 -0700)
commit25e2d79f527b7abce624f30516f3167195b69a2e
treecbb84bef77eb8a9b69ccff4ddf05015ee07ee2fd
parent433992361ce95a1da76b76c9c24d4c957b058aff
[PATCH] bogus kfree() in ibmtr

On several failure exits in ibmtr we end up doing kfree() on dev->priv,
with dev allocated by alloc_trdev() and ->priv never reassigned.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/tokenring/ibmtr.c