summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCarsten Emde <C.Emde@osadl.org>2011-07-19 12:51:17 (GMT)
committerScott Wood <scottwood@freescale.com>2015-02-13 22:20:59 (GMT)
commit3be1ad041890455b3d91bfb728d2c0112f36a724 (patch)
tree1020598e03cbce70eb5a471261341a552a2f54ec /include
parenta52f334a4e2a9c85e5147b36e8a89ac7a57a9131 (diff)
downloadlinux-fsl-qoriq-3be1ad041890455b3d91bfb728d2c0112f36a724.tar.xz
net: sysrq via icmp
There are (probably rare) situations when a system crashed and the system console becomes unresponsive but the network icmp layer still is alive. Wouldn't it be wonderful, if we then could submit a sysreq command via ping? This patch provides this facility. Please consult the updated documentation Documentation/sysrq.txt for details. Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/netns/ipv4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h
index bf2ec22..5e9ce7f 100644
--- a/include/net/netns/ipv4.h
+++ b/include/net/netns/ipv4.h
@@ -57,6 +57,7 @@ struct netns_ipv4 {
int sysctl_icmp_echo_ignore_all;
int sysctl_icmp_echo_ignore_broadcasts;
+ int sysctl_icmp_echo_sysrq;
int sysctl_icmp_ignore_bogus_error_responses;
int sysctl_icmp_ratelimit;
int sysctl_icmp_ratemask;