]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
usbnet: Zero padding byte if there is tail room in skb
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 27 Jun 2007 06:48:15 +0000 (08:48 +0200)
committerJeff Garzik <jeff@garzik.org>
Mon, 2 Jul 2007 12:24:51 +0000 (08:24 -0400)
commit3e323f3e86196eec18d6959585aa3188d060c43b
treeecfd354c67ee0d44c811d696fe7371f7502e1b11
parent23de559b8d3537f972f325e7e015c18aa2e4d987
usbnet: Zero padding byte if there is tail room in skb

Usbnet adds a padding byte if a 0 byte USB packet would be sent. Zero
padding byte if there is tail room in skb.

Signed-of-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/usb/usbnet.c