summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorChris Mi <cmi@nvidia.com>2020-12-08 10:48:35 +0800
committerDavid S. Miller <davem@davemloft.net>2020-12-09 16:08:33 -0800
commit5137d303659d8c324e67814b1cc2e1bc0c0d9836 (patch)
treed47fce9d7dae20e3156ee50ac35dd5a37739ebd5 /net/ipv4/tcp_output.c
parent8ef44b6fe49d2b8d03ba9aa69063612b474f963b (diff)
net: flow_offload: Fix memory leak for indirect flow block
The offending commit introduces a cleanup callback that is invoked when the driver module is removed to clean up the tunnel device flow block. But it returns on the first iteration of the for loop. The remaining indirect flow blocks will never be freed. Fixes: 1fac52da5942 ("net: flow_offload: consolidate indirect flow_block infrastructure") CC: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Chris Mi <cmi@nvidia.com> Reviewed-by: Roi Dayan <roid@nvidia.com>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions