diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2016-07-04 14:36:03 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-05 00:10:29 -0700 |
commit | a546e557d9404834159b0599a4383ff4cd3321bf (patch) | |
tree | b89c64bfd5f6c2ee79b2f527741cf52037cde950 /drivers/net/usb/asix_devices.c | |
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>
Diffstat (limited to 'drivers/net/usb/asix_devices.c')
0 files changed, 0 insertions, 0 deletions