aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorHiroaki SHIMODA <[email protected]>2014-02-26 21:43:42 +0900
committerDavid S. Miller <[email protected]>2014-02-27 12:53:50 -0500
commit724b9e1d75ab3401aaa081bd4efb440c1b3509db (patch)
treead5545d23ed048dc2576eb8537446c3ccc421003 /lib/mpi/mpi-cmp.c
parent09a89c219baf0f116387efc928e325cf23630f20 (diff)
sch_tbf: Fix potential memory leak in tbf_change().
The allocated child qdisc is not freed in error conditions. Defer the allocation after user configuration turns out to be valid and acceptable. Fixes: cc106e441a63b ("net: sched: tbf: fix the calculation of max_size") Signed-off-by: Hiroaki SHIMODA <[email protected]> Cc: Yang Yingliang <[email protected]> Acked-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions