]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit4c5ade414912cd903906339491675352bfccbdfe
treee3be0b7ff13dc818eba3a3794d45159d636845e8
parentedf6b784c0e574696915e7b04fe42158f3112d0d
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