[INET]: Generalise the tcp_listen_ lock routines