diff options
author | Ivan Khoronzhuk | 2019-08-07 00:45:40 +0200 |
---|---|---|
committer | David S. Miller | 2019-08-09 07:00:24 +0200 |
commit | 51650d33b2771acd505068da669cf85cffac369a (patch) | |
tree | f974e43343186b5e7e39f066a56ac81ef3fa6f5d /drivers/net/bonding/bond_main.c | |
parent | net: docs: replace IPX in tuntap documentation (diff) | |
download | kernel-qcow2-linux-51650d33b2771acd505068da669cf85cffac369a.tar.gz kernel-qcow2-linux-51650d33b2771acd505068da669cf85cffac369a.tar.xz kernel-qcow2-linux-51650d33b2771acd505068da669cf85cffac369a.zip |
net: sched: sch_taprio: fix memleak in error path for sched list parse
In error case, all entries should be freed from the sched list
before deleting it. For simplicity use rcu way.
Fixes: 5a781ccbd19e46 ("tc: Add support for configuring the taprio scheduler")
Acked-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
0 files changed, 0 insertions, 0 deletions