r8169: use hardware auto-padding.
commit7627613b64210b454164a8dbe6b4681da9ed1bb7
authorFrancois Romieu <romieu@fr.zoreil.com>
Thu, 16 Apr 2009 21:34:24 +0000 (16 23:34 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 2 May 2009 17:24:43 +0000 (2 10:24 -0700)
tree1ae329d21e91cb913468061251fce28ab940b44b
parent67b9b52d81ad636ae454e474ed52eb145d8284b5
r8169: use hardware auto-padding.

Upstream as 97d477a914b146e7e6722ded21afa79886ae8ccd (post 2.6.28).

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/r8169.c