net/smc: save stack space and allocate smc_init_info
authorKarsten Graul <kgraul@linux.ibm.com>
Sat, 16 Oct 2021 09:37:43 +0000 (11:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Oct 2021 13:58:12 +0000 (14:58 +0100)
commited990df29f5b4ae720a9044958aaf589073eb26d
treea566beb3128bc7556fe2baef4097f5511f3fc5ac
parent24bcbe1cc69fa52dc4f7b5b2456678ed464724d8
net/smc: save stack space and allocate smc_init_info

The struct smc_init_info grew over time, its time to save space on stack
and allocate this struct dynamically.

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_llc.c