]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/linux-2.6.25.18-not_report_sysctl_1.23.patch
Add iptables rule to add miniupnd rules to forward chain.
[ipfire-2.x.git] / src / patches / linux-2.6.25.18-not_report_sysctl_1.23.patch
CommitLineData
2219b263
AF
1diff -Naur linux-2.6.25.18.org/kernel/sysctl.c linux-2.6.25.18/kernel/sysctl.c
2--- linux-2.6.25.18.org/kernel/sysctl.c 2008-10-09 04:58:32.000000000 +0200
3+++ linux-2.6.25.18/kernel/sysctl.c 2008-10-10 18:03:33.000000000 +0200
4@@ -2807,6 +2807,10 @@
5 if ((args->nlen == 2) && (name[0] == CTL_KERN) && (name[1] == KERN_VERSION))
6 return 0;
7
8+ /* Ignore kudzu syscall 1.23 */
9+ if ((args->nlen == 2) && (name[0] == 1) && (name[1] == 23))
10+ return 0;
11+
12 if (msg_count < 5) {
13 msg_count++;
14 printk(KERN_INFO