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)
commit51f5f8ca446d4c59041b9b6995821e13208897ea
tree871e000936610452e975788cce836e7253b477e3
parent2a13052fe495948e572839e514e0e0cd236c50b0
mac80211: Fix memory leak in ieee80211_if_write()

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