commit | bb7da333d0a9f3bddc08f84187b7579a3f68fd24 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Tue Jan 03 16:34:48 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 04 13:33:28 2017 -0500 |
tree | d6d420e50df49853a92e62ececb42e484e07ad8d | |
parent | cd7aeb1f9706b665ad8659df8ff036e7bc0097f4 [diff] |
net: systemport: Utilize skb_put_padto() Since we need to pad our packets, utilize skb_put_padto() which increases skb->len by how much we need to pad, allowing us to eliminate the test on skb->len right below. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>