[PATCH 5.19 148/192] net/smc: Fix possible access to freed memory in link clear