From: David S. Miller Date: Thu, 24 Aug 2017 03:33:49 +0000 (-0700) Subject: Merge branch 'dst-tag-ksz-fix' X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2f19f50e0f55a8fa067d3705e3f812a4f709567f;p=openwrt%2Fstaging%2Fblogic.git Merge branch 'dst-tag-ksz-fix' Florian Fainelli says: ==================== net: dsa: Fix tag_ksz.c This implements David's suggestion of providing low-level functions to control whether skb_pad() and skb_put_padto() should be freeing the passed skb. We make use of it to fix a double free in net/dsa/tag_ksz.c that would occur if we kept using skb_put_padto() in both places. ==================== Signed-off-by: David S. Miller --- 2f19f50e0f55a8fa067d3705e3f812a4f709567f