Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/smc: fix a memory leak in smc_sysctl_net_exit()
Recently added smc_sysctl_net_exit() forgot to free the memory allocated from smc_sysctl_net_init() for non initial network namespace. Fixes: 462791b ("net/smc: add sysctl interface for SMC") Signed-off-by: Eric Dumazet <[email protected]> Reported-by: syzbot <[email protected]> Cc: Tony Lu <[email protected]> Cc: Dust Li <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information