Skip to content
Commit 2f19f50e authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parents 013dae5d 49716679
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment