commit | a546e557d9404834159b0599a4383ff4cd3321bf | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Mon Jul 04 14:36:03 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 05 00:10:29 2016 -0700 |
tree | b89c64bfd5f6c2ee79b2f527741cf52037cde950 | |
parent | 7def171ddc93c504bd91ccb56b802392770621c5 [diff] |
net: r6040: Utilize skb_put_padto() Pad the SKB to the minimum length of ETH_ZLEN by using skb_put_padto() and take this operation out of the critical section since there is no need to check any HW resources before doing that. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>