mac80211: Fix memory leak in ieee80211_if_write()
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 10 Mar 2010 16:13:36 +0000 (17:13 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Mar 2010 21:29:11 +0000 (16:29 -0500)
Fix memory leak and use kmalloc() instead of kzalloc() as we are going
to overwrite the allocated buffer.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/debugfs_netdev.c

Simple merge