summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorCarsten Emde <C.Emde@osadl.org>2011-07-19 12:51:17 (GMT)
committerScott Wood <scottwood@freescale.com>2014-04-10 00:19:52 (GMT)
commita21edadb2148d493be02e85f584a5a80a8f506b6 (patch)
treeef28c76aaa3a50f3bda58a63b204f9cac07dcb01 /include/net
parent19e27852e58b811fb6d0677609e79ddd30d6ff03 (diff)
downloadlinux-fsl-qoriq-a21edadb2148d493be02e85f584a5a80a8f506b6.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/net')
-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;