WANG Cong 5449a5ca9b 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>
2015-12-22 17:00:58 -05:00
..
2015-08-25 13:37:31 -07:00
2015-05-28 11:23:20 +08:00
2015-12-03 11:32:06 -05:00
2015-10-08 04:27:03 -07:00
2015-12-03 11:32:06 -05:00
2015-05-03 21:58:01 -04:00
2015-09-17 17:18:37 -07:00
2015-10-21 19:36:11 -07:00
2015-11-18 16:25:01 -05:00
2015-11-02 22:54:45 -05:00
2015-12-14 23:52:00 -05:00
2015-02-28 16:56:51 -05:00
2015-11-03 10:52:13 -05:00
2014-05-23 16:28:53 -04:00