inet: Register fragmentation some ctls at read-only root.
authorPavel Emelyanov <xemul@openvz.org>
Mon, 19 May 2008 20:53:02 +0000 (13:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2008 20:53:02 +0000 (13:53 -0700)
commit7d291ebb834278e30c211b26fb7076adcb636ad9
treea6f7c95feff3a4f40603bf79b5cce85dc1c96e9f
parent0002c630c4ee7a3c6b1d87e34bfd6ce9694b49be
inet: Register fragmentation some ctls at read-only root.

Parts of fragments-related sysctls are read-only, but this is
done by cloning all the tables and dropping write-bits from
mode. Do the same but with read-only root.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_fragment.c
net/ipv6/reassembly.c