summaryrefslogtreecommitdiff
path: root/kernel-8.0/freebsd-mcast-uninited.patch
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-09-09 16:13:32 +0000
committerStef Walter <stef@memberwebs.com>2009-09-09 16:13:32 +0000
commita394cf31344594e207bdb91ffcc3533169406add (patch)
tree530a830e4de0d176dd9af2e6adbf54ff94d4c65f /kernel-8.0/freebsd-mcast-uninited.patch
Add kernel update script + patches for 8.0-BETA3
Diffstat (limited to 'kernel-8.0/freebsd-mcast-uninited.patch')
-rw-r--r--kernel-8.0/freebsd-mcast-uninited.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/kernel-8.0/freebsd-mcast-uninited.patch b/kernel-8.0/freebsd-mcast-uninited.patch
new file mode 100644
index 0000000..42660f7
--- /dev/null
+++ b/kernel-8.0/freebsd-mcast-uninited.patch
@@ -0,0 +1,12 @@
+--- sys/netinet/in_mcast.c.orig 2009-08-03 08:13:06.000000000 +0000
++++ sys/netinet/in_mcast.c 2009-09-09 15:01:24.000000000 +0000
+@@ -2024,6 +2050,9 @@
+ error = ENOMEM;
+ goto out_imo_free;
+ }
++ } else if (is_new) {
++ /* Old style ASM filter mode is always exclude */
++ imf_init(imf, MCAST_UNDEFINED, MCAST_EXCLUDE);
+ }
+
+ /*