From: David S. Miller Date: Tue, 9 Dec 2014 01:47:47 +0000 (-0500) Subject: Merge branch 'eth_skb_pad' X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=99bc5c928d7c18b70de80e582fa8e2ecc705eb9a;p=linux-beck.git Merge branch 'eth_skb_pad' 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 --- 99bc5c928d7c18b70de80e582fa8e2ecc705eb9a