]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tlan: get rid of padding buffer
authorStephen Hemminger <shemminger@vyatta.com>
Fri, 30 May 2008 16:49:52 +0000 (09:49 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Sat, 31 May 2008 02:17:56 +0000 (22:17 -0400)
commit41873e9aff0632d80c74380d58a89e8d420151bd
treed34b8add6a9446441b6f320ed3cfd307c4fc9fb0
parent981813d8e0a16946f511f4eda17bb4ee4fa2769c
tlan: get rid of padding buffer

Use skb_padto to pad frames, this avoid allocation of separate buffer just
for dma of the extra bytes.

Compile tested only.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/tlan.c