commit | 26a17b7bbb36a8552d531bc1ad08472fb5aa3007 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@vyatta.com> | Wed Apr 02 10:11:11 2008 -0700 |
committer | Jeff Garzik <jgarzik@redhat.com> | Wed Apr 16 20:41:35 2008 -0400 |
tree | 3a1041cb4661f313fbba5e276f3d0eeef36d28d4 | |
parent | 9c28eaea90aef8db20004d29f924ad3059d9704e [diff] |
sc92031: start transmit return value bugfix Any negative return value from start_xmit is interpreted as NETDEV_TX_LOCK which is not what this driver wants. It should return 0 (NETDEV_TX_OK) when it consumes a packet. Also, use skb_padto() as the generic way to pad small frames. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>