]> err.no Git - linux-2.6/commit
rt2x00: Fix memleak in tx() path
authorIvo van Doorn <ivdoorn@gmail.com>
Fri, 23 May 2008 16:13:41 +0000 (18:13 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 28 May 2008 20:43:43 +0000 (16:43 -0400)
commit0f3e63a55b1a7b695a79bf3eec2ff5ab6b336037
treeb24b5dd41ef30145d52e17eb43cd8595f2d84b98
parent9381be059bf5831d259e8735005cfa35b7488543
rt2x00: Fix memleak in tx() path

When the tx() handler runs while the device has disapeared,
we did return NETDEV_TX_OK but didn't free the skb.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00mac.c