ieee802154: Fix possible NULL pointer dereference in wpan_phy_alloc
authorDenis Kirjanov <dkirjanov@hera.kernel.org>
Sun, 23 May 2010 05:45:45 +0000 (05:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 May 2010 06:11:07 +0000 (23:11 -0700)
commita6c0f8217c17d46da22fa56923f3cbd03615cb7c
tree32eacbe6529f885b858cd39e70b6b989eb090f88
parent418c437d8b4b87815f3afed89da2aa0078d5379d
ieee802154: Fix possible NULL pointer dereference in wpan_phy_alloc

Check for NULL pointer after kzalloc

Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/wpan-class.c