[PATCH] orinoco: possible null pointer dereference in orinoco_rx_monitor()
authorFlorin Malita <fmalita@gmail.com>
Tue, 23 May 2006 05:35:30 +0000 (22:35 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 23 May 2006 17:35:32 +0000 (10:35 -0700)
commitbb6e093da23ace2724fdadd27738027468eb82b3
tree6cbe07bc4a9ceeed0c35f5f15b5b5cd9f5dba319
parent30d6b2f3749e41ce37170ebc445948222b2db4ee
[PATCH] orinoco: possible null pointer dereference in orinoco_rx_monitor()

If the skb allocation fails, the current error path calls
dev_kfree_skb_irq() with a NULL argument.  Also, 'err' is not being used.

Coverity CID: 275.

Signed-off-by: Florin Malita <fmalita@gmail.com>
Cc: "John W. Linville" <linville@tuxdriver.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/wireless/orinoco.c