diff options
author | 2015-12-21 10:55:45 -0800 | |
---|---|---|
committer | 2015-12-22 17:00:58 -0500 | |
commit | 5449a5ca9bc27dd51a462de7ca0b1cd861cd2bd0 (patch) | |
tree | d45c413133a77f12c74950961286367daca26a61 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec (diff) | |
download | wireguard-linux-5449a5ca9bc27dd51a462de7ca0b1cd861cd2bd0.tar.xz wireguard-linux-5449a5ca9bc27dd51a462de7ca0b1cd861cd2bd0.zip |
addrconf: always initialize sysctl table data
When sysctl performs restrict writes, it allows to write from
a middle position of a sysctl file, which requires us to initialize
the table data before calling proc_dostring() for the write case.
Fixes: 3d1bec99320d ("ipv6: introduce secret_stable to ipv6_devconf")
Reported-by: Sasha Levin <sasha.levin@oracle.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Tested-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions