diff options
Diffstat (limited to 'main/linux-virt-grsec/ping_init_sock.patch')
-rw-r--r-- | main/linux-virt-grsec/ping_init_sock.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/main/linux-virt-grsec/ping_init_sock.patch b/main/linux-virt-grsec/ping_init_sock.patch new file mode 100644 index 000000000..38b0c811b --- /dev/null +++ b/main/linux-virt-grsec/ping_init_sock.patch @@ -0,0 +1,13 @@ +http://forums.grsecurity.net/viewtopic.php?f=3&t=3982 + +--- ./net/ipv4/ping.c.orig ++++ ./net/ipv4/ping.c +@@ -259,7 +259,7 @@ + + inet_get_ping_group_range_net(net, &low, &high); + if (gid_lte(low, group) && gid_lte(group, high)) +- goto out_release_group; ++ return 0; + + group_info = get_current_groups(); + count = group_info->ngroups; |