Merge branch 'eth_skb_pad'
authorDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 01:47:47 +0000 (20:47 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2014 01:47:47 +0000 (20:47 -0500)
Alexander Duyck says:

====================
net: Add helper for padding short Ethernet frames

This patch series adds a pair of helpers to pad short Ethernet frames.  The
general idea is to clean up a number of code paths that were all writing
their own versions of the same or similar function.

An added advantage is that this will help to discourage introducing new
bugs as in at least one case I found the skb->len had been updated, but the
tail pointer update was overlooked.

v2: Added skb_put_padto for cases where length is not ETH_ZLEN
    Updated intel drivers and emulex driver to use skb_put_padto
    Updated eth_skb_pad to use skb_put_padto
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge