Eric Dumazet 5ae6acf1d0 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: 462791bbfa35 ("net/smc: add sysctl interface for SMC")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: syzbot <syzkaller@googlegroups.com>
Cc: Tony Lu <tonylu@linux.alibaba.com>
Cc: Dust Li <dust.li@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-03-26 14:17:01 -07:00
..
2022-03-07 09:48:55 +01:00
2022-03-17 16:34:49 -07:00
2022-01-22 08:33:37 +02:00
2022-03-07 11:40:41 +00:00
2022-02-25 09:36:06 +01:00
2022-03-04 12:02:19 +00:00
2022-03-24 13:13:26 -07:00
2022-01-27 13:53:27 +00:00
2022-02-10 15:29:39 +00:00
2022-03-07 11:40:41 +00:00
2022-03-21 20:47:54 -07:00
2022-03-24 13:13:26 -07:00
2022-03-11 13:00:17 -08:00
2022-03-03 09:55:28 +00:00