From: Ursula Braun <ubraun@xxxxxxxxxxxxxxxxxx> Date: Tue, 9 Aug 2016 12:13:00 +0200 > + sock_hold(&smc->sk); ... > +out_line: > + seq_putc(m, '\n'); > + sock_put(&smc->sk); You hold the smc_proc_list_lock during this function's execution, therefore the table cannot change and therefore the socket cannot go away. Therefore taking a reference count here is unnecessary overhead, please remove it. -- To unsubscribe from this list: send the line "unsubscribe linux-s390" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html