summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-07-30 14:38:25 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-07-30 14:38:25 +0200
commit9b0949b728eae42550e5adc6ff67063499d53044 (patch)
treeff828ad0fc1fe22c38b863b1c8e102e1bf55c377 /.travis.yml
parent20e2a6a9b199a1a54bd53f62f29003eb4f5bec6b (diff)
sock: Don't panic() when sysctl_set_int fails
Instead print an error message including some more details. netsniff-ng should still remain funcional without the socket sysctl values being set. Suggested-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions
but cgroup_name/path() depend on the associated kernfs_node and if a subsystem makes the new cgroup_subsys_state visible, which they're allowed to after onlining, it can lead to NULL dereference. The current code performs cgroup creation and subsystem onlining in cgroup_create() and cgroup_mkdir() makes the cgroup and subsystems visible afterwards. There's no reason to online the subsystems early and we can simply drop cgroup_apply_control_enable() call from cgroup_create() so that the subsystems are onlined and made visible at the same time. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Fixes: a5bca2152036 ("cgroup: factor out cgroup_create() out of cgroup_mkdir()") Cc: stable@vger.kernel.org # v4.6+
Diffstat (limited to 'net/irda/irda_device.c')