]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: handle allocation failures in mesh_pathtbl_init()
authorDan Carpenter <error27@gmail.com>
Tue, 30 Aug 2011 19:16:15 +0000 (22:16 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Sep 2011 19:48:48 +0000 (15:48 -0400)
commit26aa591ec458a271e49bd4d56069f3d99d3289c0
treee3be0b7ff13dc818eba3a3794d45159d636845e8
parentf45da7715f7015524dfcf8d66a9d79b6553a19cb
mac80211: handle allocation failures in mesh_pathtbl_init()

The calls to kzalloc() weren't checked here and it upsets the static
checkers.  Obviously they're not super likely to fail, but we might
as well add some error handling.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_pathtbl.c