[PATCH 3/5] ipc: get rid of ids->tables_initialized hack

2018-06-01 Thread Davidlohr Bueso
In sysvipc we have an ids->tables_initialized regarding the rhashtable, introduced in: 0cfb6aee70b (ipc: optimize semget/shmget/msgget for lots of keys). It's there, specifically, to prevent nil pointer dereferences, from using an uninitialized api. Considering how rhashtable_init() can fail

[PATCH 3/5] ipc: get rid of ids->tables_initialized hack

2018-06-01 Thread Davidlohr Bueso
In sysvipc we have an ids->tables_initialized regarding the rhashtable, introduced in: 0cfb6aee70b (ipc: optimize semget/shmget/msgget for lots of keys). It's there, specifically, to prevent nil pointer dereferences, from using an uninitialized api. Considering how rhashtable_init() can fail