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-05-14 18:38:43 (GMT)
commitefce723a9204509662cc35c962f8d072cacc49cf (patch)
tree482e5530101fc424bdb9775032d5aaca324d8ecb /include/net
parentba5d0dcaf0e5a7ddc7498fc50e0f943d706d1a3c (diff)
downloadlinux-fsl-qoriq-efce723a9204509662cc35c962f8d072cacc49cf.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;