]> git.karo-electronics.de Git - karo-tx-linux.git/commit
zd1201: avoid null ptr access of skb->dev
authorJohn W. Linville <linville@tuxdriver.com>
Fri, 26 Oct 2007 21:04:36 +0000 (17:04 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Nov 2007 17:25:36 +0000 (09:25 -0800)
commitd28add692ad08b797fea06d7f8dd183b84a6e1bd
tree0300fd474e1c8e7dff9e6ca6305e63ec90760770
parentaff6d851000018701d7f16c9e69a2f4eabbf5a04
zd1201: avoid null ptr access of skb->dev

patch 3ba72b25211217de195e3f528dd36132b38a205b in mainline.

skb->dev is not set until eth_type_trans is called...

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/zd1201.c