Re: [PATCH net v2 0/2] net: dsa: Fix tag_ksz.c

2017-08-23 Thread David Miller
From: Florian Fainelli Date: Tue, 22 Aug 2017 15:12:13 -0700 > 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 > o

[PATCH net v2 0/2] net: dsa: Fix tag_ksz.c

2017-08-22 Thread Florian Fainelli
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. Florian Fainelli (2)