Messages in this thread | | | Subject | Re: [PATCH net-next v2] net: dsa: avoid potential use-after-free error | From | Florian Fainelli <> | Date | Fri, 20 Nov 2020 10:17:20 -0800 |
| |
On 11/19/20 3:09 AM, Christian Eggers wrote: > If dsa_switch_ops::port_txtstamp() returns false, clone will be freed > immediately. Shouldn't store a pointer to freed memory. > > Signed-off-by: Christian Eggers <ceggers@arri.de> > Fixes: 146d442c2357 ("net: dsa: Keep a pointer to the skb clone for TX timestamping")
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian
| |