Patch590: linux-2.6-590-chopstix-intern.patch
Patch620: linux-2.6-620-kdb.patch
Patch630: linux-2.6-630-sched-fix.patch
+Patch640: linux-2.6-640-netlink-audit-hack.patch
# See also the file named 'sources' here for the related checksums
# NOTE. iwlwifi should be in-kernel starting from 2.6.24
--- /dev/null
+diff -Nurp linux-2.6.22-630/net/netlink/af_netlink.c linux-2.6.22-640/net/netlink/af_netlink.c
+--- linux-2.6.22-630/net/netlink/af_netlink.c 2008-04-09 18:46:27.000000000 +0200
++++ linux-2.6.22-640/net/netlink/af_netlink.c 2008-05-05 19:20:02.000000000 +0200
+@@ -426,6 +426,11 @@ static int netlink_create(struct socket
+ if (protocol<0 || protocol >= MAX_LINKS)
+ return -EPROTONOSUPPORT;
+
++#ifndef CONFIG_AUDIT
++ if (protocol == NETLINK_AUDIT)
++ return -EPROTONOSUPPORT;
++#endif
++
+ netlink_lock_table();
+ #ifdef CONFIG_KMOD
+ if (!nl_table[protocol].registered) {