summaryrefslogtreecommitdiff
path: root/kernel-8.0/freebsd-mcast-uninited.patch
diff options
context:
space:
mode:
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);
+ }
+
+ /*