]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: fix memory leak
authorGanesh Goudar <ganeshgr@chelsio.com>
Mon, 4 Sep 2017 05:46:28 +0000 (11:16 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Sep 2017 21:27:50 +0000 (14:27 -0700)
commit5c70f85b49f3935b0800415021aba5359b091864
treee7b0760bf99daf171bdefe4922125025d0843939
parent26e7f1f1c57475132a6eb317740bb35141b82a5c
cxgb4: fix memory leak

do not reuse the loop counter which is used iterate over
the ports, so that sched_tbl will be freed for all the ports.

Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/sched.c