From: David S. Miller Date: Thu, 24 Aug 2017 03:33:49 +0000 (-0700) Subject: Merge branch 'dst-tag-ksz-fix' X-Git-Tag: v4.13~9^2~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2f19f50e0f55a8fa067d3705e3f812a4f709567f;p=thirdparty%2Fkernel%2Flinux.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