Kirill Tkhai 79ffdfc652 net: Add rtnl_lock_killable()
rtnl_lock() is widely used mutex in kernel. Some of kernel code
does memory allocations under it. In case of memory deficit this
may invoke OOM killer, but the problem is a killed task can't
exit if it's waiting for the mutex. This may be a reason of deadlock
and panic.

This patch adds a new primitive, which responds on SIGKILL, and
it allows to use it in the places, where we don't want to sleep
forever.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-16 12:31:19 -04:00
..
2018-02-06 10:32:13 +01:00
2018-02-10 13:16:35 -08:00
2018-03-16 12:31:19 -04:00
2018-02-02 10:01:04 -08:00
2018-02-03 13:07:56 -08:00
2018-03-01 14:32:23 -08:00
2018-02-07 13:10:43 -08:00
2017-12-22 12:30:10 -08:00