diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-04-02 10:11:11 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-16 20:41:35 -0400 |
commit | 26a17b7bbb36a8552d531bc1ad08472fb5aa3007 (patch) | |
tree | 3a1041cb4661f313fbba5e276f3d0eeef36d28d4 /lib/cpumask.c | |
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>
Diffstat (limited to 'lib/cpumask.c')
0 files changed, 0 insertions, 0 deletions