fff-config: Set panic on OOM #195

Closed
fbl wants to merge 1 commits from fbl:oom into master

1 Commits

Author SHA1 Message Date
Fabian Bläse 4cb638dad4 fff-config: Set panic on OOM
The OOM killer does not make much sense on a router, because regardless
of which process is killed, most of the time some essential core
functionality is affected.

Set the panic on OOM sysctl, so every OOM leads to a kernel panic and
results in a reboot of the router, which restores a clean state.

Fixes: #131

Signed-off-by: Fabian Bläse <fabian@blaese.de>
2021-12-30 15:54:14 +01:00