diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-09-07 17:09:45 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-09-07 17:24:36 +0200 |
commit | f472d90b141d0e9f0c1033012d6d2be1338b7b1f (patch) | |
tree | fb42a037b373cb22d68b2d861d672ead2218fea8 /proto_ipv6_dest_opts.c | |
parent | d5bdc3836a9b8bfc03b9c9ff86d913e0717fd300 (diff) |
flowtop: Don't attempt to set sysctl values if initial read fails
Bail out early if we fail to read the current sysctl variable values for
net/netfilter/nf_conntrack_acct and net/netfilter/nf_conntrack_timestamp
Otherwise we'll not be able restore the previous value on exit/panic.
Moreover, if we fail to read the sysctl file, we usually also lack the
permissions to write it.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_ipv6_dest_opts.c')
0 files changed, 0 insertions, 0 deletions