RE: [Intel-wired-lan] [PATCH] net: ixgbe: fix memory leaks

2019-08-28 Thread Bowers, AndrewX
t > ; David S. Miller > Subject: [Intel-wired-lan] [PATCH] net: ixgbe: fix memory leaks > > In ixgbe_configure_clsu32(), 'jump', 'input', and 'mask' are allocated through > kzalloc() respectively in a for loop body. Then, > ixgbe_clsu32_build_input() is i

Re: [PATCH] net: ixgbe: fix memory leaks

2019-08-11 Thread Alexander Duyck
On Sun, Aug 11, 2019 at 1:08 PM Wenwen Wang wrote: > > In ixgbe_configure_clsu32(), 'jump', 'input', and 'mask' are allocated > through kzalloc() respectively in a for loop body. Then, > ixgbe_clsu32_build_input() is invoked to build the input. If this process > fails, next iteration of the for lo

[PATCH] net: ixgbe: fix memory leaks

2019-08-11 Thread Wenwen Wang
In ixgbe_configure_clsu32(), 'jump', 'input', and 'mask' are allocated through kzalloc() respectively in a for loop body. Then, ixgbe_clsu32_build_input() is invoked to build the input. If this process fails, next iteration of the for loop will be executed. However, the allocated 'jump', 'input', a