]> git.baikalelectronics.ru Git - kernel.git/commit
usbnet: fix oops in usbnet_start_xmit
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Mon, 7 Nov 2011 05:54:58 +0000 (05:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Nov 2011 18:25:41 +0000 (13:25 -0500)
commita791ac2c4a526bc02d5512ff9193ef02fa0c9a86
tree1404d618c42757a234dfb1f0efe946411ecf1b0e
parent945ea61b248c28275b50b282fb29ac00338f7f04
usbnet: fix oops in usbnet_start_xmit

This patch fixes the bug added in commit v3.1-rc7-1055-gf9b491e
SKB can be NULL at this point, at least for cdc-ncm.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/usbnet.c