]> git.ipfire.org Git - people/arne_f/kernel.git/commit
Merge branch 'dst-tag-ksz-fix'
authorDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 03:33:49 +0000 (20:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 03:33:49 +0000 (20:33 -0700)
commit2f19f50e0f55a8fa067d3705e3f812a4f709567f
tree75ab119854f9db3c887341aa214c0332ac945b5e
parent013dae5dbc07aa521a38f1ca2d32123ec674bd5d
parent49716679248a0bf64d8914711b2d1ea48751853e
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 <davem@davemloft.net>