r8169: use hardware auto-padding.
authorfrançois romieu <romieu@fr.zoreil.com>
Sun, 15 Mar 2009 01:09:54 +0000 (01:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Mar 2009 03:03:10 +0000 (20:03 -0700)
commit97d477a914b146e7e6722ded21afa79886ae8ccd
tree94905bf4df5436c9bf4933901af8166dcad814f5
parent682337fe062e939578d933c74157ae9a36baa4ce
r8169: use hardware auto-padding.

It shortens the code and fixes the current pci_unmap leak with
padded skb reported by Dave Jones.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r8169.c